Closed SohamGovande closed 4 years ago
You can see the jlink and jpackage calls if you run gradle with the -i
(or --info
) flag. The lines containing these calls start with Starting process
. Try for example:
./gradlew -i clean jpackage | grep 'Starting process'
I will try this. Thank you!
Yep, this is working.
Might I ask, is there a way to see the console output from the actual jpackage command?
With the -i
flag, gradle also displays the output of the jpackage commands. However, jpackage doesn't print much by default. To see more, you can use the --verbose
option:
jlink {
...
jpackage {
...
imageOptions += '--verbose'
installerOptions += '--verbose'
}
}
Great - thanks.
It would be great if this gradle plugin allowed one to see which jlink and jpackage calls were being run under the hood, which is crucial for debugging purposes. For example, you could have a property called
showDebugInfo
, which (iftrue
) would create a file calledjlink-plugin-log.txt
with the system calls to jlink and jpackage that are being made.Thank you!