From 9566845f8c8eecb8fc7815db2d7fdf80020eb54f Mon Sep 17 00:00:00 2001 From: "Stephen M. Coakley" Date: Thu, 28 Jun 2018 13:27:27 -0500 Subject: [PATCH] Use versioning plugin --- build.gradle | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index b21ae09..717d26b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { id 'signing' id 'com.jfrog.bintray' version '1.8.1' + id 'com.widen.versioning' version '0.3.1' } allprojects { @@ -8,8 +9,7 @@ allprojects { apply plugin: 'java' apply plugin: 'maven-publish' - group 'com.widen.oss' - version '0.1.1' + group = 'com.widen.oss' sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -23,14 +23,14 @@ allprojects { key = findProperty('bintrayApiKey') ?: System.getenv('BINTRAY_KEY') } - task javadocJar(type: Jar) { - classifier = 'javadoc' - from javadoc - } - task sourcesJar(type: Jar) { - classifier = 'sources' from sourceSets.main.allSource + classifier 'sources' + } + + task javadocJar(type: Jar) { + from javadoc + classifier 'javadoc' } }