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
|
2017-03-24 11:22:53 +00:00
|
|
|
Properties constants = new Properties()
|
2017-03-30 15:27:01 +00:00
|
|
|
file("$projectDir/../constants.properties").withInputStream { constants.load(it) }
|
2016-12-06 16:29:15 +00:00
|
|
|
|
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.
|
2017-03-24 11:22:53 +00:00
|
|
|
ext.gradle_plugins_version = constants.getProperty("gradlePluginsVersion")
|
2017-05-18 14:58:35 +00:00
|
|
|
ext.bouncycastle_version = constants.getProperty("bouncycastleVersion")
|
|
|
|
ext.typesafe_config_version = constants.getProperty("typesafeConfigVersion")
|
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"
|
2017-01-03 14:15:23 +00:00
|
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
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')
|
2017-05-18 14:58:35 +00:00
|
|
|
publications = ['cordformation', 'quasar-utils', 'cordform-common']
|
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'
|
|
|
|
}
|
2017-01-03 14:15:23 +00:00
|
|
|
}
|