To avoid needing to bump three different files upon updates, a common publish properties file has been added.

This commit is contained in:
Clinton Alexander 2016-12-06 16:29:15 +00:00
parent 87e5c9bf46
commit f1daae0491
4 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,11 @@
buildscript {
// For sharing constants between builds
Properties props = new Properties()
file("publish.properties").withInputStream { props.load(it) }
// Our version: bump this on release.
ext.corda_version = "0.7-SNAPSHOT"
ext.gradle_plugins_version = "0.6.2"
ext.gradle_plugins_version = props.getProperty("gradlePluginsVersion")
ext.kotlin_version = '1.0.5'
ext.quasar_version = '0.7.6'
ext.asm_version = '0.5.3'

View File

@ -2,8 +2,12 @@
// or if you are developing these plugins. See the readme for more information.
buildscript {
ext.gradle_plugins_version = "0.6.2" // Our version: bump this on release.
ext.corda_published_version = "0.6.2" // Depend on our existing published publishing plugin.
// For sharing constants between builds
Properties props = new Properties()
file("../publish.properties").withInputStream { props.load(it) }
ext.gradle_plugins_version = props.getProperty("gradlePluginsVersion") // Our version: bump this on release.
ext.corda_published_version = "0.6.2" // Only needs to be bumped when the publishing plugin is changed.
repositories {
mavenLocal()

View File

@ -4,7 +4,11 @@ apply plugin: 'com.jfrog.bintray'
// Used for bootstrapping project
buildscript {
ext.gradle_plugins_version = "0.6.2" // Our version: bump this on release.
// For sharing constants between builds
Properties props = new Properties()
file("../../publish.properties").withInputStream { props.load(it) }
ext.gradle_plugins_version = props.getProperty("gradlePluginsVersion")
repositories {
jcenter()

1
publish.properties Normal file
View File

@ -0,0 +1 @@
gradlePluginsVersion=0.6.2