mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-15 17:29:10 -04:00
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>