mirror of
https://github.com/corda/corda.git
synced 2025-04-12 05:40:48 +00:00
To avoid needing to bump three different files upon updates, a common publish properties file has been added.
This commit is contained in:
parent
87e5c9bf46
commit
f1daae0491
@ -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'
|
||||
|
@ -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()
|
||||
|
@ -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
1
publish.properties
Normal file
@ -0,0 +1 @@
|
||||
gradlePluginsVersion=0.6.2
|
Loading…
x
Reference in New Issue
Block a user