From fd8d51ac5412ed36e02da91d80013ed6a2d9e292 Mon Sep 17 00:00:00 2001 From: Nikolaus Krismer <niko@krismer.de> Date: Fri, 21 Mar 2014 13:59:58 +0100 Subject: [PATCH] increased version number fixed problems with cargo deploy --- build.gradle | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index c43bdf29..f51aeae6 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ import org.apache.tools.ant.filters.ReplaceTokens // Basic settings group = 'it.unibz.inf.isochrone' -version = '0.2.2-SNAPSHOT' +version = '0.2.3-SNAPSHOT' description = 'PhD project of Nikolaus Krismer' sourceCompatibility=1.7 @@ -72,9 +72,15 @@ gradle.taskGraph.whenReady {taskGraph -> if (version.endsWith('-SNAPSHOT')) { println "Building SNAPSHOT version $version" + cargo.deployable { + context = 'testing' + } } else { isRelease = true; println "Building RELEASE version $version" + cargo.deployable { + context = 'isochrone' + } } } @@ -150,9 +156,7 @@ cargo { containerId = cargoContainer port = cargoPort as int - deployable { - context = "${isRelease ? 'isochrone' : 'testing'}" - } + // deployable part is set by versioning above remote { hostname = cargoHostname -- GitLab