diff --git a/scripts/build-android-local.sh b/scripts/build-android-local.sh index 5731afc..90a784c 100755 --- a/scripts/build-android-local.sh +++ b/scripts/build-android-local.sh @@ -59,7 +59,11 @@ echo "==> verifying bundled native executables against $BINARY_MANIFEST" ( cd android && sha256sum -c "$(basename "$BINARY_MANIFEST")" ) echo "==> android build: version $version (versionCode $ONIONWIRE_VERSION_CODE), abi $abi" -( cd android && "./gradlew" --no-daemon \ +# --stacktrace only changes output on failure. Without it a Gradle task failure +# can land in the CI log with an empty cause chain (e.g. run 414: +# `:app:packageRelease ... IncrementalSplitterRunnable` and no `Caused by:`), +# which makes a one-off failure undiagnosable after the fact. +( cd android && "./gradlew" --no-daemon --stacktrace \ "-Ponionwire.abis=$abi" \ "-Ponionwire.versionName=$version" \ "-Ponionwire.versionCode=$ONIONWIRE_VERSION_CODE" \