2016-11-17 17:08:57 +00:00
|
|
|
// This script exists just to allow bootstrapping the gradle plugins if maven central or jcenter are unavailable
|
|
|
|
// or if you are developing these plugins. See the readme for more information.
|
|
|
|
|
|
|
|
buildscript {
|
2016-12-06 16:29:15 +00:00
|
|
|
// For sharing constants between builds
|
|
|
|
Properties props = new Properties()
|
|
|
|
file("../publish.properties").withInputStream { props.load(it) }
|
|
|
|
|
2016-12-08 12:18:26 +00:00
|
|
|
// If you bump this version you must re-bootstrap the codebase. See the README for more information.
|
|
|
|
ext.gradle_plugins_version = props.getProperty("gradlePluginsVersion")
|
2016-11-17 17:08:57 +00:00
|
|
|
|
|
|
|
repositories {
|
2016-12-01 20:24:04 +00:00
|
|
|
mavenLocal()
|
2016-11-17 17:08:57 +00:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2016-12-08 12:18:26 +00:00
|
|
|
classpath "net.corda.plugins:publish-utils:$gradle_plugins_version"
|
2016-11-18 13:12:27 +00:00
|
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
|
2016-11-17 17:08:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-01 20:24:04 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2016-11-17 17:08:57 +00:00
|
|
|
|
|
|
|
allprojects {
|
2016-11-25 16:39:18 +00:00
|
|
|
version "$gradle_plugins_version"
|
2016-12-05 17:37:37 +00:00
|
|
|
group 'net.corda.plugins'
|
2016-11-21 13:46:30 +00:00
|
|
|
}
|
|
|
|
|
2016-12-01 20:24:04 +00:00
|
|
|
bintrayConfig {
|
|
|
|
user = System.getenv('CORDA_BINTRAY_USER')
|
|
|
|
key = System.getenv('CORDA_BINTRAY_KEY')
|
|
|
|
repo = 'corda'
|
|
|
|
org = 'r3'
|
|
|
|
licenses = ['Apache-2.0']
|
2016-12-06 10:05:02 +00:00
|
|
|
vcsUrl = 'https://github.com/corda/corda'
|
|
|
|
projectUrl = 'https://github.com/corda/corda'
|
2016-12-01 20:24:04 +00:00
|
|
|
gpgSign = true
|
|
|
|
gpgPassphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
|
2016-12-02 12:00:25 +00:00
|
|
|
publications = ['cordformation', 'quasar-utils']
|
2016-12-06 10:05:02 +00:00
|
|
|
license {
|
|
|
|
name = 'Apache-2.0'
|
|
|
|
url = 'https://www.apache.org/licenses/LICENSE-2.0'
|
|
|
|
distribution = 'repo'
|
|
|
|
}
|
|
|
|
developer {
|
|
|
|
id = 'R3'
|
|
|
|
name = 'R3'
|
|
|
|
email = 'dev@corda.net'
|
|
|
|
}
|
2016-12-06 13:34:04 +00:00
|
|
|
}
|