From a6ab3a2a036e93e6fb21bf146f1a3e42876beec2 Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Tue, 28 Jul 2020 14:47:37 -0400 Subject: [PATCH] updated to publish dev builds to the dev repo --- build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index b1abede..434e42c 100644 --- a/build.gradle +++ b/build.gradle @@ -82,7 +82,12 @@ sourceSets { publishing { repositories { maven { - url = uri("https://repo.extendedclip.com/content/repositories/public/") + + if (version.contains("-DEV-")) { + url = uri("https://repo.extendedclip.com/content/repositories/dev/") + } else { + url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/") + } credentials { username = System.getenv("JENKINS_USER")