Skip to content

Gradle: Add flatpakGradleGenerator task#4807

Draft
vidplace7 wants to merge 1 commit intomeshtastic:mainfrom
vidplace7:flatpak-gradle
Draft

Gradle: Add flatpakGradleGenerator task#4807
vidplace7 wants to merge 1 commit intomeshtastic:mainfrom
vidplace7:flatpak-gradle

Conversation

@vidplace7
Copy link
Copy Markdown
Member

This PR adds a new gradle task flatpakGradleGenerator

run with:

./gradlew flatpakGradleGenerator --no-configuration-cache

this generates a json file flatpak-sources.json containing all dependencies needed to build :desktop.
When a flatpak builds using this flatpak-source.json file, all dependencies are stored to a dir offline-repository which gradle now leverages as a fallback maven repository.

See example flatpak-sources.json

In the future we may distribute this as part of GitHub Releases? (So they can be consumed by FlatPak builds directly).

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 12.23%. Comparing base (6d132ed) to head (b3b2e97).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4807   +/-   ##
=======================================
  Coverage   12.23%   12.23%           
=======================================
  Files         530      530           
  Lines       17753    17753           
  Branches     2652     2652           
=======================================
  Hits         2172     2172           
  Misses      15267    15267           
  Partials      314      314           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vidplace7 vidplace7 marked this pull request as draft March 14, 2026 21:23
@jamesarich jamesarich marked this pull request as ready for review March 16, 2026 13:29
@jamesarich
Copy link
Copy Markdown
Collaborator

jamesarich commented Mar 16, 2026

lgtm, we can roll once you're good with it @vidplace7 👍

@vidplace7
Copy link
Copy Markdown
Member Author

This isn't quite including everything we need yet. Still WIP.

@vidplace7 vidplace7 marked this pull request as draft March 18, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants