From 09de0968d730160c352ed2670cb764ff2d86135f Mon Sep 17 00:00:00 2001 From: NavidK0 Date: Wed, 1 Jul 2015 14:29:40 -0400 Subject: [PATCH] Added publishing in build.gradle --- build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.gradle b/build.gradle index ecde709f..e2118299 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,7 @@ import java.nio.file.Path plugins { id 'java' + id 'maven-publish' id "com.jfrog.artifactory" version "3.1.1" } @@ -34,6 +35,17 @@ repositories { } } +publishing { + publications { + mavenJava(MavenPublication) { + groupId 'LibsDisguises' + artifactId 'LibsDisguises' + version '8.5-SNAPSHOT' + from components.java + } + } +} + artifactoryPublish.skip = false artifactory { @@ -44,6 +56,9 @@ artifactory { username = '${artifactory_user}' password = '${artifactory_password}' } + defaults { + publications('mavenJava') + } } resolve { repoKey = 'repo'