1
7
Fork
You've already forked examples
2

Fix flatpak build issue #4

Merged
mrlem merged 1 commit from bugfix/flatpak_gradle_issue into main 2025年04月12日 10:03:00 +02:00
mrlem commented 2025年04月10日 21:23:20 +02:00 (Migrated from github.com)
Copy link

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/HelloTemplate after installing the flatpak, I see the following:

~/.local/share/flatpak/app/my.example.HelloTemplate/current/active/files$ tree -L 1
.
├── HelloTemplate
├── jdk
├── jre
└── manifest.json

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.

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/HelloTemplate` after installing the flatpak, I see the following: ``` ~/.local/share/flatpak/app/my.example.HelloTemplate/current/active/files$ tree -L 1 . ├── HelloTemplate ├── jdk ├── jre └── manifest.json ``` 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.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
java-gi/examples!4
Reference in a new issue
java-gi/examples
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?