Update run configuration to always use the correct dependencies
This commit is contained in:
parent
82c32bb448
commit
3a9c14898b
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue