aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-07-19 11:09:28 -0700
committerKenny Root <kenny@the-b.org>2015-07-19 11:09:28 -0700
commita46d4894e1364e4ea9423206101ca9b7507bcb81 (patch)
tree279d9877d5898159403eda37dd92f023523c30f1 /config
parent280ff5c8f023617498136f02187128890651a7b5 (diff)
downloadconnectbot-a46d4894e1364e4ea9423206101ca9b7507bcb81.tar.gz
connectbot-a46d4894e1364e4ea9423206101ca9b7507bcb81.tar.bz2
connectbot-a46d4894e1364e4ea9423206101ca9b7507bcb81.zip
translations: remove fancy logging
Diffstat (limited to 'config')
-rw-r--r--config/translations.gradle25
1 files changed, 4 insertions, 21 deletions
diff --git a/config/translations.gradle b/config/translations.gradle
index 14a2f12..a7cefeb 100644
--- a/config/translations.gradle
+++ b/config/translations.gradle
@@ -40,33 +40,16 @@ task translationsImport(type: Exec, dependsOn: 'untarTranslations') {
executable = android2poExec
args = ['import'] + android2poArgs
- // Save the output to print out.
- standardOutput = new ByteArrayOutputStream()
- errorOutput = new ByteArrayOutputStream()
- ext.output = {
- return standardOutput.toString()
- }
- ext.errs = {
- return errorOutput.toString()
- }
-
- doLast {
- println()
- println("Translations import output:")
- println("${translationsImport.output}")
- println("${translationsImport.errs}")
- }
+ logging.captureStandardOutput LogLevel.LIFECYCLE
+ logging.captureStandardError LogLevel.ERROR
}
task exportFromAndroid(type: Exec) {
executable = android2poExec
args = ['export'] + android2poArgs
- // Save the output to print out.
- standardOutput = new ByteArrayOutputStream()
- ext.output = {
- return standardOutput.toString()
- }
+ logging.captureStandardOutput LogLevel.LIFECYCLE
+ logging.captureStandardError LogLevel.ERROR
}
task translationsExport(type: Tar, dependsOn: 'exportFromAndroid') {