Update Maven publishing

This commit is contained in:
Shadowfacts 2017-11-30 13:31:14 -05:00
parent 06f171947d
commit 68c718fe57
Signed by: shadowfacts
GPG Key ID: 83FB3304046BADA4
1 changed files with 2 additions and 7 deletions

View File

@ -19,6 +19,7 @@ plugins {
apply plugin: "kotlin" apply plugin: "kotlin"
apply plugin: "net.minecraftforge.gradle.forge" apply plugin: "net.minecraftforge.gradle.forge"
apply from: "https://github.com/shadowfacts/maven/raw/master/maven.gradle"
version = mod_version version = mod_version
@ -101,10 +102,4 @@ reobf {
tasks.reobfShadowJar.mustRunAfter shadowJar tasks.reobfShadowJar.mustRunAfter shadowJar
tasks.build.dependsOn reobfShadowJar tasks.build.dependsOn reobfShadowJar
uploadArchives {
repositories.mavenDeployer {
repository(url: "http://archiva.shadowfacts.net/repository/local/") {
authentication(userName: project.hasProperty("mavenUser") ? project.mavenUser : System.getenv("mavenUser"), password: project.hasProperty("mavenPassword") ? project.mavenPassword : System.getenv("mavenPassword"))
}
}
}