mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Cordformation now publishes to bintray.
This commit is contained in:
parent
e3f618fe13
commit
a90de1fa49
@ -12,6 +12,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
classpath "net.corda.plugins:publish-utils:$corda_published_version"
|
||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
|
||||
}
|
||||
}
|
||||
|
||||
@ -19,7 +20,7 @@ apply plugin: 'maven-publish'
|
||||
|
||||
allprojects {
|
||||
group 'net.corda'
|
||||
version "$corda_version"
|
||||
version "$corda_published_version"
|
||||
}
|
||||
|
||||
// Aliasing the publishToMavenLocal for simplicity.
|
||||
|
@ -1,5 +1,7 @@
|
||||
apply plugin: 'groovy'
|
||||
apply plugin: 'net.corda.plugins.publish-utils'
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
dependencies {
|
||||
compile gradleApi()
|
||||
@ -12,6 +14,19 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
bintray {
|
||||
user = System.getenv('CORDA_BINTRAY_USER')
|
||||
key = System.getenv('CORDA_BINTRAY_KEY')
|
||||
publications = ['cordformation']
|
||||
dryRun = false
|
||||
pkg {
|
||||
repo = 'corda'
|
||||
name = 'cordformation'
|
||||
userOrg = 'r3'
|
||||
licenses = ['Apache-2.0']
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
cordformation(MavenPublication) {
|
||||
@ -21,6 +36,26 @@ publishing {
|
||||
|
||||
artifact sourceJar
|
||||
artifact javadocJar
|
||||
|
||||
pom.withXml {
|
||||
asNode().children().last() + {
|
||||
resolveStrategy = Closure.DELEGATE_FIRST
|
||||
name 'cordformation'
|
||||
description 'A small gradle plugin for adding some basic Quasar tasks and configurations to reduce build.gradle bloat.'
|
||||
url 'https://github.com/corda/corda'
|
||||
scm {
|
||||
url 'https://github.com/corda/corda'
|
||||
}
|
||||
|
||||
licenses {
|
||||
license {
|
||||
name 'Apache-2.0'
|
||||
url 'https://www.apache.org/licenses/LICENSE-2.0'
|
||||
distribution 'repo'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
version 0.6
|
@ -1,5 +1,4 @@
|
||||
apply plugin: 'groovy'
|
||||
apply plugin: 'net.corda.plugins.publish-utils' // TODO: Remove when bintray publishing code is in master
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user