Debugging gradle script

This commit is contained in:
Gabriel Calero 2018-06-19 21:38:17 -03:00
parent b42f546b2a
commit f8511c5233

View file

@ -596,7 +596,7 @@ task zipDumpSymsDebug(type: Zip, dependsOn: runBreakpadDumpSymsDebug) {
}
from (breakpadDumpSymsDir.absolutePath)
archiveName "symbols-${RELEASE_NUMBER}.zip"
destinationDir(breakpadDumpSymsDir)
destinationDir(new File("${appDir}/build/tmp/"))
doLast {
println ("Zipped " + breakpadDumpSymsDir.absolutePath + " into " + breakpadDumpSymsDir)
}
@ -610,7 +610,7 @@ task uploadBreakpadDumpSymsRelease(dependsOn: runBreakpadDumpSymsRelease) {
task uploadBreakpadDumpSymsDebug(dependsOn: zipDumpSymsDebug) {
def p = ['curl', '--data-binary', "@"+new File(breakpadDumpSymsDir, "symbols-${RELEASE_NUMBER}.zip").absolutePath, "\"https://gcalero998.sp.backtrace.io:6098/post?format=symbols&token=d65d0d184789ac40c121952001fd91dfba7e149899b1eeccd68ccffe91dd2fd0\""].execute()
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()
}