opentcs/gradle/guice-application.gradle
CaiXiang aa56926258
Some checks failed
Gradle Build / build (push) Has been cancelled
Initial commit
2024-11-30 18:36:13 +08:00

30 lines
633 B
Groovy

// SPDX-FileCopyrightText: The openTCS Authors
// SPDX-License-Identifier: MIT
apply from: "${rootDir}/gradle/guice-project.gradle"
apply plugin: 'application'
run {
dependsOn installDist
workingDir new File(new File(buildDir, 'install'), project.name)
enableAssertions true
classpath sourceSets.guiceConfig.output
}
task(debug, type:JavaExec) {
dependsOn installDist
doFirst {
workingDir = run.workingDir
enableAssertions = run.enableAssertions
main = run.main
args = run.args
classpath = run.classpath
jvmArgs = run.jvmArgs
systemProperties = run.systemProperties
debug true
}
}