From 42daa8d1793cea356bc17d8dfececb517c26c00a Mon Sep 17 00:00:00 2001 From: Stefan Nothaas Date: Fri, 12 Oct 2018 14:43:32 +0200 Subject: [PATCH] build.gradle: Bugfix snapshot postfix --- build.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index f8349b79d..9cf0eea06 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ buildscript { } dependencies { - classpath "de.hhu.bsinfo:dxbuild:0.2.0-SNAPSHOT" + classpath "de.hhu.bsinfo:dxbuild:0.2.0" + (Boolean.valueOf(System.getProperty('snapshot')) ? '-SNAPSHOT' : '') } } @@ -85,11 +85,11 @@ dependencies { compileOnly 'org.projectlombok:lombok:1.18.2' api 'commons-cli:commons-cli:1.4' - api 'de.hhu.bsinfo:dxmem:0.5.0-SNAPSHOT' - api 'de.hhu.bsinfo:dxnet:0.5.0-SNAPSHOT' - api 'de.hhu.bsinfo:dxlog:0.5.0-SNAPSHOT' - api 'de.hhu.bsinfo:dxmon:0.2.0-SNAPSHOT' - nativeApi 'de.hhu.bsinfo:dxutils:0.5.0-SNAPSHOT' + api 'de.hhu.bsinfo:dxmem:0.5.0' + (Boolean.valueOf(System.getProperty('snapshot')) ? '-SNAPSHOT' : '') + api 'de.hhu.bsinfo:dxnet:0.5.0' + (Boolean.valueOf(System.getProperty('snapshot')) ? '-SNAPSHOT' : '') + api 'de.hhu.bsinfo:dxlog:0.5.0' + (Boolean.valueOf(System.getProperty('snapshot')) ? '-SNAPSHOT' : '') + api 'de.hhu.bsinfo:dxmon:0.2.0' + (Boolean.valueOf(System.getProperty('snapshot')) ? '-SNAPSHOT' : '') + nativeApi 'de.hhu.bsinfo:dxutils:0.5.0' + (Boolean.valueOf(System.getProperty('snapshot')) ? '-SNAPSHOT' : '') implementation 'com.google.guava:guava:26.0-jre' implementation 'org.apache.zookeeper:zookeeper:3.4.13'