Skip to content

Commit

Permalink
Fixes Maven for the command line without affecting Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeryn99 committed Dec 19, 2023
1 parent 651c5bd commit ff3c16d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
7 changes: 3 additions & 4 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit ff3c16d

Please sign in to comment.