From b0793ea639bb96be63af1f73fe7b1f463a3e1734 Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Sat, 18 Jun 2016 16:39:59 -0500 Subject: [PATCH] adding bintray config --- build.gradle | 29 ++++++++++++++++++++++-- jupiter-engine-clojure.test/build.gradle | 1 + jupiter-lang-clojure/build.gradle | 1 + 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 53829c4..cffd06b 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ ext.defaultVersions = [ allprojects { group = 'org.ajoberstar.jupiter' - plugins.withId('java') { + pluginManager.withPlugin('java') { repositories { jcenter() maven { @@ -28,7 +28,7 @@ allprojects { } } - plugins.withId('maven-publish') { + pluginManager.withPlugin('maven-publish') { publishing { repositories { mavenLocal() @@ -36,6 +36,31 @@ allprojects { } } + pluginManager.withPlugin('com.jfrog.bintray') { + bintray { + user = System.env['BINTRAY_USER'] + key = System.env['BINTRAY_KEY'] + publications = ['main'] + publish = true + pkg { + repo = 'maven' + name = 'jupiter' + licenses = ['EPL-1.0'] + websiteUrl = 'https://github.com/ajoberstar/jupiter' + issueTrackerUrl = 'https://github.com/ajoberstar/jupiter/issues' + vcsUrl = 'https://github.com/ajoberstar/jupiter.git' + labels = ['junit', 'junit5', 'clojure', 'testing', 'gradle'] + publicDownloadNumbers = true + githubRepo = 'ajoberstar/jupiter' + + version { + name = project.version + vcsTag = project.version + } + } + } + } + configurations.all { resolutionStrategy.eachDependency { details -> if (details.requested.version == 'default') { diff --git a/jupiter-engine-clojure.test/build.gradle b/jupiter-engine-clojure.test/build.gradle index f1427c5..0008a97 100644 --- a/jupiter-engine-clojure.test/build.gradle +++ b/jupiter-engine-clojure.test/build.gradle @@ -1,6 +1,7 @@ plugins { id 'java' id 'maven-publish' + id 'com.jfrog.bintray' version '1.6' } dependencies { diff --git a/jupiter-lang-clojure/build.gradle b/jupiter-lang-clojure/build.gradle index bc2282e..8840a5c 100644 --- a/jupiter-lang-clojure/build.gradle +++ b/jupiter-lang-clojure/build.gradle @@ -1,6 +1,7 @@ plugins { id 'java' id 'maven-publish' + id 'com.jfrog.bintray' version '1.6' } dependencies {