From 8f9b999e5a6fe2d1c899598cea9e9e5e0cbe8510 Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Tue, 28 Jul 2020 13:47:28 -0400 Subject: [PATCH] updated to publish to clip nexus repo --- build.gradle | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 819a59e..0ece429 100644 --- a/build.gradle +++ b/build.gradle @@ -80,15 +80,22 @@ sourceSets { } publishing { + repositories { + maven { + url = uri("https://repo.extendedclip.com/content/repositories/public/") + + credentials { + username = System.getProperty("JENKINS_USER") + password = System.getProperty("JENKINS_PASS") + } + } + } + publications { maven(MavenPublication) { - groupId = project.group - artifactId = project.name - version = project.version.toString() - from(components.java) } } } -publishToMavenLocal.dependsOn clean, test, jar +publish.dependsOn clean, test, jar \ No newline at end of file