Slackbot
08/10/2023, 3:01 PMVampire
08/10/2023, 5:42 PMgatlingCompileClasspath
is a bad idea.
That one is for compiling and for example also contains gatlingCompileOnly
dependencies.
You really shouldn't include those at runtime.
The application
plugin sets the classpath to the jar task outputs plus runtime classpath.Vampire
08/10/2023, 5:43 PMapplication
plugin facilities.Vampire
08/10/2023, 5:44 PMdistZip
and distTar
, those are coming from the distribution
plugin, which is applied by the application
plugin. The application
plugin just configures its main
distribution, but you could as well add a second distribution that you then configure accordingly if you do not go the separate-project-approach.Ivan CLOVIS Canet
08/11/2023, 8:32 AMdistribution
plugin for a custom source set?Vampire
08/11/2023, 8:59 AMmain
distributionVampire
08/11/2023, 9:01 AMruntimeClasspath
to lib/
, the generated start scripts to bin/
- or the configured exectuable dir - with filemode 0755
and everything in src/dist
directly to the root directory.Ivan CLOVIS Canet
08/11/2023, 9:01 AMTheDo you know the GitHub link of where they do this? I'm not knowledgeable enough of plugin structure to find it myself…plugin sets the classpath to the jar task outputs plus runtime classpath.application
Vampire
08/11/2023, 9:03 AMIvan CLOVIS Canet
08/11/2023, 9:04 AM