diff --git a/fabric/build.gradle b/fabric/build.gradle index 1a6f09e67..3f65b0b15 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -182,12 +182,11 @@ publishing { repositories { maven { - url = project.findProperty("maven_repo_url") ?: "http://craig.software:8081/repository/whocraft/" + url = "https://maven.craig.software/repository/whocraft/" credentials { - username = System.getenv("MAVEN_REPO_USERNAME") - password = System.getenv("MAVEN_REPO_PASSWORD") + username = project.findProperty("MAVEN_REPO_USERNAME") ?: System.getenv("MAVEN_REPO_USERNAME") ?: "" + password = project.findProperty("MAVEN_REPO_PASSWORD") ?: System.getenv("MAVEN_REPO_PASSWORD") ?: "" } - allowInsecureProtocol = true } } } \ No newline at end of file diff --git a/forge/build.gradle b/forge/build.gradle index 7930ea50d..6015237a1 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -155,12 +155,11 @@ publishing { repositories { maven { - url = project.findProperty("maven_repo_url") ?: "http://craig.software:8081/repository/whocraft/" + url = "https://maven.craig.software/repository/whocraft/" credentials { - username = System.getenv("MAVEN_REPO_USERNAME") - password = System.getenv("MAVEN_REPO_PASSWORD") + username = project.findProperty("MAVEN_REPO_USERNAME") ?: System.getenv("MAVEN_REPO_USERNAME") ?: "" + password = project.findProperty("MAVEN_REPO_PASSWORD") ?: System.getenv("MAVEN_REPO_PASSWORD") ?: "" } - allowInsecureProtocol = true } } }