Closed fourlastor closed 1 year ago
@hakanai not sure if you saw this pr
@hakanai not sure if you saw this pr
I think I had, but I had a trip out of the country between seeing it and now, and I have been fighting to get on top of my email and other tasks since returning... 😅
This PR removes the java home in
JPackageData
and uses instead the one defined inBaseTask
.This is to fix an issue where specifying a different java home in the configuration doesn't apply to the jpackage task.
I tested it by using this branch and running the task
test:packageWinX64
on Windows (which will run the jpackage task)This requires to have a setup like the following:
Checking out the
master
branch of the runtime plugin fails the build (as it tries to use the gradle jdk - 11, to run jpackage, which doesn't exist), while the fix branch succeeds