mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-07-13 14:52:12 -04:00
fix(flatpak): generate complete offline-buildable manifest for desktopApp (#5610)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -374,11 +374,15 @@ jobs:
|
||||
# network — meshtastic.flatpak-ops captures URLs via BuildOperationListener and
|
||||
# only sees ExternalResourceReadBuildOperation events for cache misses. With the
|
||||
# shared cache, downloads would be skipped and the manifest would be (nearly) empty.
|
||||
# We drive packageUberJarForCurrentOS — the same task the in-flatpak build invokes —
|
||||
# so the runtime classpath is fully resolved (skiko, ktor-cio, kable-btleplug-ffi, …
|
||||
# are runtime-only and would be missed by :assemble).
|
||||
- name: Generate Flatpak Sources
|
||||
run: >
|
||||
./gradlew --no-build-cache --no-configuration-cache
|
||||
-Dgradle.user.home=${{ runner.temp }}/flatpak-gradle-home
|
||||
:desktopApp:assemble :captureFlatpakSources
|
||||
-I gradle/init-scripts/flatpak-ops.init.gradle.kts
|
||||
:desktopApp:packageUberJarForCurrentOS :captureFlatpakSources
|
||||
|
||||
- name: Stage manifest
|
||||
run: cp build/flatpak-ops-sources.json flatpak-sources.json
|
||||
|
||||
5
.github/workflows/reusable-check.yml
vendored
5
.github/workflows/reusable-check.yml
vendored
@@ -576,11 +576,14 @@ jobs:
|
||||
cache_read_only: true
|
||||
|
||||
# Isolated Gradle user home — see explanation in release.yml.
|
||||
# packageUberJarForCurrentOS is what the in-flatpak build invokes; it resolves the FULL
|
||||
# runtime classpath. :assemble alone would miss runtime-only deps (skiko, ktor-cio, …).
|
||||
- name: Generate Flatpak Sources
|
||||
run: >
|
||||
./gradlew --no-build-cache --no-configuration-cache
|
||||
-Dgradle.user.home=${{ runner.temp }}/flatpak-gradle-home
|
||||
:desktopApp:assemble :captureFlatpakSources
|
||||
-I gradle/init-scripts/flatpak-ops.init.gradle.kts
|
||||
:desktopApp:packageUberJarForCurrentOS :captureFlatpakSources
|
||||
|
||||
- name: Stage manifest
|
||||
run: cp build/flatpak-ops-sources.json flatpak-sources.json
|
||||
|
||||
Reference in New Issue
Block a user