mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +00:00
33 lines
871 B
Groovy
33 lines
871 B
Groovy
// 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"
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
allprojects {
|
|
group 'net.corda'
|
|
version "$corda_version"
|
|
}
|
|
|
|
subprojects {
|
|
task(install, dependsOn: 'publishToMavenLocal')
|
|
}
|
|
|
|
// Aliasing the publishToMavenLocal for simplicity.
|
|
task(install, dependsOn: 'publishToMavenLocal')
|
|
|