Skip to content

Commit

Permalink
fixed publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Dec 13, 2024
1 parent c953ea9 commit b00ee5f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ publishing {
repositories {
def isCI = System.getenv("CI")
def isRELEASE = System.getenv("GITHUB_RELEASE")
if (isCI) {
maven {
url System.getenv("local_maven_url")
}
} else if (isRELEASE){
if (isRELEASE){
maven {
name = "GTMaven"
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
Expand All @@ -80,6 +76,10 @@ publishing {
password = System.getenv("MAVEN_PASSWORD")
}
}
} else if (isCI) {
maven {
url System.getenv("local_maven_url")
}
} else {
mavenLocal()
}
Expand Down
10 changes: 5 additions & 5 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,7 @@ publishing {
repositories {
def isCI = System.getenv("CI")
def isRELEASE = System.getenv("GITHUB_RELEASE")
if (isCI) {
maven {
url System.getenv("local_maven_url")
}
} else if (isRELEASE){
if (isRELEASE){
maven {
name = "GTMaven"
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
Expand All @@ -172,6 +168,10 @@ publishing {
password = System.getenv("MAVEN_PASSWORD")
}
}
} else if (isCI) {
maven {
url System.getenv("local_maven_url")
}
} else {
mavenLocal()
}
Expand Down
10 changes: 5 additions & 5 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,7 @@ publishing {
repositories {
def isCI = System.getenv("CI")
def isRELEASE = System.getenv("GITHUB_RELEASE")
if (isCI) {
maven {
url System.getenv("local_maven_url")
}
} else if (isRELEASE){
if (isRELEASE){
maven {
name = "GTMaven"
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
Expand All @@ -168,6 +164,10 @@ publishing {
password = System.getenv("MAVEN_PASSWORD")
}
}
} else if (isCI) {
maven {
url System.getenv("local_maven_url")
}
} else {
mavenLocal()
}
Expand Down

0 comments on commit b00ee5f

Please sign in to comment.