From a3c98b24da3f86b061443d14c233e5fbba25b10a Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 19 Jan 2014 13:49:22 +1100 Subject: [PATCH] ... --- build.gradle | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index e715e20a1..7a39a842b 100644 --- a/build.gradle +++ b/build.gradle @@ -16,6 +16,10 @@ buildscript { } } +configurations { + deployJars +} + apply plugin: "maven" apply plugin: "forge" @@ -135,9 +139,9 @@ task deobfJar(type: Jar) { } artifacts { - archives sourceJar - archives deobfJar - archives apiJar + deployJars sourceJar + deployJars deobfJar + deployJars apiJar } uploadArchives { @@ -145,6 +149,8 @@ uploadArchives { add getProject().repositories.mavenLocal() } repositories.mavenDeployer { + configuration = configurations.deployJars + if (project.hasProperty("filesmaven")) { logger.info('Publishing to files server') repository(url: project.filesmaven.url) {