mirror of
https://github.com/corda/corda.git
synced 2025-06-18 15:18:16 +00:00
Cordformation now publishes to bintray.
This commit is contained in:
@ -12,6 +12,7 @@ buildscript {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "net.corda.plugins:publish-utils:$corda_published_version"
|
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 {
|
allprojects {
|
||||||
group 'net.corda'
|
group 'net.corda'
|
||||||
version "$corda_version"
|
version "$corda_published_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Aliasing the publishToMavenLocal for simplicity.
|
// Aliasing the publishToMavenLocal for simplicity.
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
apply plugin: 'groovy'
|
apply plugin: 'groovy'
|
||||||
apply plugin: 'net.corda.plugins.publish-utils'
|
apply plugin: 'net.corda.plugins.publish-utils'
|
||||||
|
apply plugin: 'maven-publish'
|
||||||
|
apply plugin: 'com.jfrog.bintray'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile gradleApi()
|
compile gradleApi()
|
||||||
@ -12,6 +14,19 @@ repositories {
|
|||||||
mavenCentral()
|
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 {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
cordformation(MavenPublication) {
|
cordformation(MavenPublication) {
|
||||||
@ -21,6 +36,26 @@ publishing {
|
|||||||
|
|
||||||
artifact sourceJar
|
artifact sourceJar
|
||||||
artifact javadocJar
|
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: 'groovy'
|
||||||
apply plugin: 'net.corda.plugins.publish-utils' // TODO: Remove when bintray publishing code is in master
|
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
apply plugin: 'com.jfrog.bintray'
|
apply plugin: 'com.jfrog.bintray'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user