Slackbot
12/27/2022, 8:28 PMAndres Almiray
12/27/2022, 9:08 PMVampire
12/27/2022, 11:08 PMstartScripts {
classpath = files('*')
}Vampire
12/27/2022, 11:09 PMapplication plugin (which automatically applies the distribution plugin)
The distribution plugin is just responsible for creating the archives.Andres Almiray
12/27/2022, 11:10 PMlib dir?Vampire
12/27/2022, 11:10 PMVampire
12/27/2022, 11:11 PMVampire
12/27/2022, 11:12 PMHmm but how would that setting take into account that JARs are inside aIt is a relative file and relative files are for that classpath resolved relative to thedir?lib
lib directory automatically.
If you have a foo.jar then it is put in the distribution in lib and lib/foo.jar added to the classpath.
If you have * then lib/* is taken.Vampire
12/27/2022, 11:13 PMAndres Almiray
12/27/2022, 11:14 PMVampire
12/27/2022, 11:16 PMVampire
12/27/2022, 11:16 PMephemient
12/28/2022, 5:26 AMephemient
12/28/2022, 5:26 AMThe order in which the JAR files in a directory are enumerated in the expanded class path is not specified and may vary from platform to platform and even from moment to moment on the same machine.
ephemient
12/28/2022, 5:29 AM