aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorOlaf Flebbe <of@oflebbe.de>2016-06-07 23:32:48 +0200
committerOlaf Flebbe <of@oflebbe.de>2016-06-08 21:36:58 +0200
commit5aa519cd785938267b05c6953554f15018eb9564 (patch)
tree7e11eea4c34259a05ae57d1ba3d8cb207ca3590f /build.gradle
parent9299713a2c59b7c605ec8a3d118244562485bf59 (diff)
BIGTOP-2474: Improve handling of gradle home
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle15
1 files changed, 1 insertions, 14 deletions
diff --git a/build.gradle b/build.gradle
index d1c5b99f..f0fe7d72 100644
--- a/build.gradle
+++ b/build.gradle
@@ -400,20 +400,7 @@ task "configure-nexus"(dependsOn: tasks.findAll { alltask -> alltask.name.starts
writer.append("</mirrors></settings>")
}
-task "gen-gradle-home"(type:Exec,
- description: 'Pre-load gradle home as cache for bigtop/slaves images',
- group: DOCKERBUILD_GROUP) {
- def dir = System.getProperty("user.dir")
- def command = [
- './gradlew', '-g', dir + '/gradle.home'
- ]
- workingDir '.'
- commandLine command
- //store the output instead of printing to the console:
- standardOutput = new ByteArrayOutputStream()
-}
-
-task "bigtop-slaves"(dependsOn: 'gen-gradle-home', type:Exec,
+task "bigtop-slaves"(type:Exec,
description: 'Build bigtop/slaves images.\n' +
'Usage:\n $ ./gradlew -POS=[centos-6|centos-7|fedora-20|debian-8|ubuntu-14.04|opensuse-13.2] -Pprefix=STRING_TO_PREFIX bigtop-slaves\n' +
'Example:\n $ ./gradlew -POS=debian-8 -Pprefix=1.0.0 bigtop-slaves\n' +