Skip to content

Commit

Permalink
fix publishing
Browse files Browse the repository at this point in the history
Signed-off-by: cpw <[email protected]>
  • Loading branch information
cpw committed Dec 29, 2021
1 parent 586aa22 commit 7f6a7f2
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,7 @@ publishing {
}
}
repositories {
maven {
if (System.env.MAVEN_USER) {
authentication {
basic(BasicAuthentication)
}
credentials {
username = System.env.MAVEN_USER ?: 'not'
password = System.env.MAVEN_PASSWORD ?: 'set'
}
url 'https://maven.minecraftforge.net/releases'
} else {
url 'file://' + rootProject.file('repo').getAbsolutePath()
}
}
maven gradleutils.getPublishingForgeMaven()
}
}

Expand Down

0 comments on commit 7f6a7f2

Please sign in to comment.