From c83232e1de27b0152d03f441b89a9cd0492d7a66 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Tue, 15 Nov 2016 16:37:41 +0000 Subject: [PATCH] Added bintray publush plugin with a first publication. --- .gitignore | 1 + build.gradle | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.gitignore b/.gitignore index 72a661f72c..d9c9cdb17f 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ tags # Created by .ignore support plugin (hsz.mobi) .gradle +local.properties /docs/build/doctrees # General build files diff --git a/build.gradle b/build.gradle index 78b6613b65..98ae76571d 100644 --- a/build.gradle +++ b/build.gradle @@ -23,6 +23,7 @@ buildscript { // Can run 'gradle dependencyUpdates' to find new versions of things. classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0' + classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' } } @@ -30,6 +31,7 @@ plugins { // TODO The capsule plugin requires the newer DSL plugin block.It would be nice if we could unify all the plugins into one style, // but the DSL has some restrictions e.g can't be used on the allprojects section. So we should revisit this if there are improvements in Gradle. id "us.kirchmeier.capsule" version "1.0.2" + id "com.jfrog.bintray" version "1.7" } apply plugin: 'kotlin' @@ -38,6 +40,18 @@ apply plugin: 'com.github.ben-manes.versions' apply plugin: 'maven-publish' apply plugin: QuasarPlugin +bintray { + user = System.getenv('CORDA_BINTRAY_USER') + key = System.getenv('CORDA_BINTRAY_KEY') + publications = ['publishUtils'] + pkg { + repo = 'corda' + name = 'publish-utils' + userOrg = 'r3' + licenses = ['Apache-2.0'] + } +} + allprojects { apply plugin: 'java' apply plugin: 'jacoco'