Debugging gradle script

This commit is contained in:
Gabriel Calero 2018-06-19 22:08:27 -03:00
parent f8511c5233
commit 464f8e128a

View file

@ -610,7 +610,15 @@ task uploadBreakpadDumpSymsRelease(dependsOn: runBreakpadDumpSymsRelease) {
task uploadBreakpadDumpSymsDebug(dependsOn: zipDumpSymsDebug) {
def p = ['curl', '--data-binary', "@"+new File("${appDir}/build/tmp/", "symbols-${RELEASE_NUMBER}.zip").absolutePath, "\"https://gcalero998.sp.backtrace.io:6098/post?format=symbols&token=d65d0d184789ac40c121952001fd91dfba7e149899b1eeccd68ccffe91dd2fd0\""].execute()
doLast {
def p = ['curl', '--data-binary', "@"+new File("${appDir}/build/tmp/", "symbols-${RELEASE_NUMBER}.zip").absolutePath, "\"https://gcalero998.sp.backtrace.io:6098/post?format=symbols&token=d65d0d184789ac40c121952001fd91dfba7e149899b1eeccd68ccffe91dd2fd0\""].execute()
p.waitFor()
if (p.exitValue() != 0) {
println "Upload breakpad symbols: curl exited with status " + p.exitValue()
println p.getErrorStream().text
}
}
}