Fix flatpak build issue #4
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/examples!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bugfix/flatpak_gradle_issue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes the build issue on my side, due to no JDK (only a JRE) being installed for the build.
I'm not completely convinced the resulting flatpak is as small as needed, though: when I list the content of
~/.local/share/flatpak/app/my.example.HelloTemplate/current/active/files/HelloTemplateafter installing the flatpak, I see the following:Ideally, only the JRE should be shipped in the flatpak (it's all that's needed to run the app, afterall). The JDK is only needed when building the flatpak.