I wonder what would be practical use case for this?
k
karelpeeters
11/15/2018, 9:35 PM
Just running your program without having to start an IDE.
👍 3
g
gildor
11/16/2018, 1:15 AM
Article is correct, it’s just strange advice in section “What if I don’t want to use gradle, and just java”
Instead you can build “distribution” using application plugin, it will generate dir with run script and all required jars.
If you add also
shadow
plugin, you can build runnable single-jar app
gildor
11/16/2018, 1:18 AM
I wonder what would be practical use case for this?
Any real application need a way to run it.
And runnable jar is good way to achieve this, almost like binary, you just need