Files
Meshtastic-Android/scripts
James Rich 3222a8c461 fix(verify-flatpak): bundle gradle-9.5.1-all, rewrite wrapper URL
The Gradle wrapper inside the flatpak build was trying to download
gradle-9.5.1-all.zip from services.gradle.org and failing because the
build phase has no network. Two problems:

1. The bundled gradle distribution was gradle-9.4.1-bin.zip
   (mismatched version + bin instead of all).
2. The overlay was missing the sed step that rewrites
   distributionUrl in gradle-wrapper.properties to point at the
   bundled file.

Fix: bump bundled distribution to gradle-9.5.1-all.zip (matches
gradle/wrapper/gradle-wrapper.properties exactly) and add the
distributionUrl sed before any gradlew invocation. Hash pulled from
the official services.gradle.org/.../*.sha256 endpoint.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 11:27:21 -05:00
..