From 68c718fe57dbc53add10a1e2ea5e1530e36543cc Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 30 Nov 2017 13:31:14 -0500 Subject: [PATCH] Update Maven publishing --- build.gradle | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index a804e86..cb3292c 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,7 @@ plugins { apply plugin: "kotlin" apply plugin: "net.minecraftforge.gradle.forge" +apply from: "https://github.com/shadowfacts/maven/raw/master/maven.gradle" version = mod_version @@ -101,10 +102,4 @@ reobf { tasks.reobfShadowJar.mustRunAfter shadowJar 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")) - } - } -} +