aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvans Ye <evansye@apache.org>2016-01-14 18:42:58 +0000
committerEvans Ye <evansye@apache.org>2016-01-23 20:07:36 +0800
commitfe435e16c1cabe7a719d20e73b4d2b7d2e35dea7 (patch)
tree4eaa6b75e6763684bfdec5224e05fe7d64bbb548
parent7cd945538db216a69ab85a86281765566a4b87f0 (diff)
downloadbigtop-odpi-fe435e16c1cabe7a719d20e73b4d2b7d2e35dea7.tar.gz
BIGTOP-2237. Nullify the standard output when generating gradle cache
-rw-r--r--build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index eb2e6195..d17f98dc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -391,6 +391,8 @@ task "gen-gradle-home"(type:Exec,
]
workingDir '.'
commandLine command
+ //store the output instead of printing to the console:
+ standardOutput = new ByteArrayOutputStream()
}
task "bigtop-slaves"(dependsOn: 'gen-gradle-home', type:Exec,