Update run configuration to always use the correct dependencies

This commit is contained in:
Tobi Schäfer 2024-06-15 12:24:17 +02:00
parent 82c32bb448
commit 3a9c14898b
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8

View file

@ -102,6 +102,8 @@ distributions {
} }
application { application {
mainClass = 'helma.main.Server'
applicationDistribution.from(projectDir) { applicationDistribution.from(projectDir) {
include 'modules/**' include 'modules/**'
include 'LICENSE.md' include 'LICENSE.md'
@ -152,8 +154,8 @@ installDist {
} }
run { run {
classpath = files('launcher.jar')
jvmArgs jettyLogLevel, suppressMacosDockIcon jvmArgs jettyLogLevel, suppressMacosDockIcon
classpath += fileTree(dir: 'lib/ext', include: '*.jar')
} }
task processSource(type: Sync) { task processSource(type: Sync) {