Added bintray publush plugin with a first publication.

This commit is contained in:
Clinton Alexander 2016-11-15 16:37:41 +00:00
parent fe7ec58f58
commit c83232e1de
2 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,6 +10,7 @@ tags
# Created by .ignore support plugin (hsz.mobi)
.gradle
local.properties
/docs/build/doctrees
# General build files

View File

@ -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'