2016-10-06 14:48:40 +00:00
|
|
|
apply plugin: 'groovy'
|
2016-11-17 17:08:57 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2016-11-18 13:12:27 +00:00
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
apply plugin: 'com.jfrog.bintray'
|
2016-10-06 14:48:40 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile gradleApi()
|
|
|
|
compile localGroovy()
|
2016-10-11 15:20:47 +00:00
|
|
|
|
|
|
|
compile "com.typesafe:config:1.3.0"
|
2016-10-06 14:48:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2016-11-18 13:12:27 +00:00
|
|
|
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']
|
2016-11-24 12:04:05 +00:00
|
|
|
|
|
|
|
version {
|
|
|
|
gpg {
|
|
|
|
sign = true
|
|
|
|
passphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
|
|
|
|
}
|
|
|
|
}
|
2016-11-18 13:12:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-06 14:48:40 +00:00
|
|
|
publishing {
|
|
|
|
publications {
|
2016-11-03 15:57:50 +00:00
|
|
|
cordformation(MavenPublication) {
|
2016-10-06 14:48:40 +00:00
|
|
|
from components.java
|
2016-11-10 13:14:38 +00:00
|
|
|
groupId 'net.corda.plugins'
|
2016-10-06 14:48:40 +00:00
|
|
|
artifactId 'cordformation'
|
2016-11-03 15:57:50 +00:00
|
|
|
|
|
|
|
artifact sourceJar
|
|
|
|
artifact javadocJar
|
2016-11-18 13:12:27 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|
2016-11-24 13:44:11 +00:00
|
|
|
|
|
|
|
developers {
|
|
|
|
developer {
|
|
|
|
id 'R3'
|
|
|
|
name 'R3'
|
|
|
|
email 'dev@corda.net'
|
|
|
|
}
|
|
|
|
}
|
2016-11-18 13:12:27 +00:00
|
|
|
}
|
|
|
|
}
|
2016-10-06 14:48:40 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-10 13:14:38 +00:00
|
|
|
}
|