Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b00ee5f

Browse files
committed
fixed publishing
1 parent c953ea9 commit b00ee5f

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

common/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ publishing {
6767
repositories {
6868
def isCI = System.getenv("CI")
6969
def isRELEASE = System.getenv("GITHUB_RELEASE")
70-
if (isCI) {
71-
maven {
72-
url System.getenv("local_maven_url")
73-
}
74-
} else if (isRELEASE){
70+
if (isRELEASE){
7571
maven {
7672
name = "GTMaven"
7773
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
@@ -80,6 +76,10 @@ publishing {
8076
password = System.getenv("MAVEN_PASSWORD")
8177
}
8278
}
79+
} else if (isCI) {
80+
maven {
81+
url System.getenv("local_maven_url")
82+
}
8383
} else {
8484
mavenLocal()
8585
}

fabric/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,7 @@ publishing {
159159
repositories {
160160
def isCI = System.getenv("CI")
161161
def isRELEASE = System.getenv("GITHUB_RELEASE")
162-
if (isCI) {
163-
maven {
164-
url System.getenv("local_maven_url")
165-
}
166-
} else if (isRELEASE){
162+
if (isRELEASE){
167163
maven {
168164
name = "GTMaven"
169165
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
@@ -172,6 +168,10 @@ publishing {
172168
password = System.getenv("MAVEN_PASSWORD")
173169
}
174170
}
171+
} else if (isCI) {
172+
maven {
173+
url System.getenv("local_maven_url")
174+
}
175175
} else {
176176
mavenLocal()
177177
}

forge/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,7 @@ publishing {
155155
repositories {
156156
def isCI = System.getenv("CI")
157157
def isRELEASE = System.getenv("GITHUB_RELEASE")
158-
if (isCI) {
159-
maven {
160-
url System.getenv("local_maven_url")
161-
}
162-
} else if (isRELEASE){
158+
if (isRELEASE){
163159
maven {
164160
name = "GTMaven"
165161
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
@@ -168,6 +164,10 @@ publishing {
168164
password = System.getenv("MAVEN_PASSWORD")
169165
}
170166
}
167+
} else if (isCI) {
168+
maven {
169+
url System.getenv("local_maven_url")
170+
}
171171
} else {
172172
mavenLocal()
173173
}

0 commit comments

Comments
 (0)