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 {
|
|
|
|
// Our version: bump this on release.
|
|
|
|
ext.corda_version = "0.6-SNAPSHOT"
|
|
|
|
ext.corda_published_version = "0.5" // Depend on our existing published publishing plugin.
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "net.corda.plugins:publish-utils:$corda_published_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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
group 'net.corda'
|
2016-11-21 13:46:30 +00:00
|
|
|
version "$corda_version"
|
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
task(install, dependsOn: 'publishToMavenLocal')
|
2016-11-17 17:08:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Aliasing the publishToMavenLocal for simplicity.
|
|
|
|
task(install, dependsOn: 'publishToMavenLocal')
|
|
|
|
|