Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Maven for the command line without affecting Github Actions
Browse files Browse the repository at this point in the history
Jeryn99 committed Dec 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 651c5bd commit ff3c16d
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
@@ -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
@@ -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
}
}
}

0 comments on commit ff3c16d

Please sign in to comment.