Skip to content

Commit

Permalink
temporarily added back method to use old maven
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Dec 13, 2024
1 parent 59d8e45 commit 424fc27
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,20 @@ 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){
maven {
name = "GTMaven"
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
} else {
mavenLocal()
}
Expand Down
10 changes: 10 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,20 @@ 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){
maven {
name = "GTMaven"
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
} else {
mavenLocal()
}
Expand Down
10 changes: 10 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,20 @@ 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){
maven {
name = "GTMaven"
url = "https://repo.repsy.io/mvn/trinsdar/gregtech-intergalactical/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
} else {
mavenLocal()
}
Expand Down

0 comments on commit 424fc27

Please sign in to comment.