Skip to content

feat: add jpackage native installer task - #13

Merged
Aston13 merged 1 commit into
masterfrom
feat/jpackage-native-installer
Mar 2, 2026
Merged

feat: add jpackage native installer task#13
Aston13 merged 1 commit into
masterfrom
feat/jpackage-native-installer

Conversation

@Aston13

@Aston13 Aston13 commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a jpackage Gradle task that creates a standalone desktop app with a bundled JRE. Recipients don't need Java installed to run the game.

Changes

  • build.gradle - new jpackage task that:
    • Builds an app-image by default (WesleysWayOut.exe + bundled JRE)
    • Supports -PinstallerType=msi / exe / dmg / deb for platform installers
    • Auto-cleans previous output so rebuilds always succeed
    • Uses docs/favicon.ico as the Windows app icon
  • .vscode/tasks.json - new Build Native Installer task
  • README.md - added jpackage to Build Commands table + new Native Installer section

Usage

./gradlew jpackage
# Output: build/installers/WesleysWayOut/WesleysWayOut.exe

Add a Gradle jpackage task that creates a standalone desktop app with a bundled JRE — recipients don't need Java installed. Includes auto-cleanup of previous output on rebuild.

Also adds a VS Code task and updates the README with build instructions.
@Aston13
Aston13 enabled auto-merge (squash) March 2, 2026 08:28
@Aston13
Aston13 merged commit 99eb2b7 into master Mar 2, 2026
1 check passed
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.

1 participant