Xeperis
Xeperis

Reputation: 1459

Package java desktop app (gradle)

According to this oracle docs there is a conventional java app packaging along with runtime JRE. (Self-Contained Application Packaging)

I know that there is this thing (Launch4j gradle plugin) but I'd prefer to have a bat/sh executables along in the package.

Going through gradle docs and googling I can not seem to find is there is a way to teach gradle to package desktop app with JRE. Is there?

Upvotes: 1

Views: 376

Answers (1)

Kevin Herron
Kevin Herron

Reputation: 6985

Have you tried this plugin yet?

https://github.com/FibreFoX/javafx-gradle-plugin

Upvotes: 1

Related Questions