mirror of
https://github.com/corda/corda.git
synced 2025-06-10 19:31:46 +00:00
Added core publishing.
This commit is contained in:
parent
89cc9dc886
commit
57f2be51b8
@ -1,6 +1,7 @@
|
|||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
apply plugin: 'net.corda.plugins.quasar-utils'
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
||||||
apply plugin: 'net.corda.plugins.publish-utils'
|
apply plugin: 'net.corda.plugins.publish-utils'
|
||||||
|
apply plugin: 'com.jfrog.bintray'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
@ -90,6 +91,26 @@ dependencies {
|
|||||||
compile "javax.ws.rs:javax.ws.rs-api:2.0"
|
compile "javax.ws.rs:javax.ws.rs-api:2.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bintray {
|
||||||
|
user = System.getenv('CORDA_BINTRAY_USER')
|
||||||
|
key = System.getenv('CORDA_BINTRAY_KEY')
|
||||||
|
publications = ['core']
|
||||||
|
dryRun = false
|
||||||
|
pkg {
|
||||||
|
repo = 'corda'
|
||||||
|
name = 'core'
|
||||||
|
userOrg = 'r3'
|
||||||
|
licenses = ['Apache-2.0']
|
||||||
|
|
||||||
|
version {
|
||||||
|
gpg {
|
||||||
|
sign = true
|
||||||
|
passphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
core(MavenPublication) {
|
core(MavenPublication) {
|
||||||
@ -98,6 +119,34 @@ publishing {
|
|||||||
|
|
||||||
artifact sourceJar
|
artifact sourceJar
|
||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
|
|
||||||
|
pom.withXml {
|
||||||
|
asNode().children().last() + {
|
||||||
|
resolveStrategy = Closure.DELEGATE_FIRST
|
||||||
|
name 'core'
|
||||||
|
description 'Core core'
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id 'R3'
|
||||||
|
name 'R3'
|
||||||
|
email 'dev@corda.net'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user