why not just use shadowJar + application plugin w...
# gradle
g
why not just use shadowJar + application plugin without any custom configurations?
n
Packr has the requirement where the program to be distributed needs to a packed up into a JAR first, before it can be analysed by Packr, hence the use of shadowJar and the custom Exec task.
g
Sounds exactly like feature that provided shafowJar plugin and shadow jar integration with application plugin, just check standard runShadow task
n
Didn't realise there was a runShadow task provided by the Shadow plugin. Is there a way to print out all available tasks belonging to a plugin via Kotlin DSL?
g
./gradlew yourProjecttasks
But be careful, new gradles print only tasks related to some specific group and skip all tasks without group (implicit group
other
) Because usually task without group is used by some other task and not intended to use directly. But not all plugin authors add group to task, so you can show all the task using command line option
--all