Update Maven publishing
This commit is contained in:
parent
06f171947d
commit
68c718fe57
|
@ -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"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue