From 57f0b17a3e504ca63260b18c91c0f1cff63c70e1 Mon Sep 17 00:00:00 2001 From: Dries007 Date: Sun, 22 Mar 2015 23:22:26 +0100 Subject: [PATCH] Fixed build script --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 73ef2a2..16b4f2b 100644 --- a/build.gradle +++ b/build.gradle @@ -106,10 +106,10 @@ idea { } uploadArchives { - if (project.hasProperty("dddUser") && project.hasProperty("dddPass")) { + if (project.hasProperty("dddUser") && project.hasProperty("dddUrl") && project.hasProperty("dddPass")) { repositories { mavenDeployer { - repository(url: "http://doubledoordev.net:8081/artifactory/mods") { + repository(url: dddUrl) { authentication(userName: dddUser, password: dddPass) } pom {