numass-framework/numass-control/cryotemp/build.gradle
2017-05-15 22:16:59 +03:00

35 lines
808 B
Groovy

apply plugin: 'application'
if (!hasProperty('mainClass')) {
ext.mainClass = 'inr.numass.cryotemp.PKT8App'
}
mainClassName = mainClass
version = "0.2.0";
//mainClassName = "inr.numass.readvac.Main"
dependencies {
compile project(':numass-control')
}
task debug(dependsOn: classes, type: JavaExec) {
main mainClass
args "--debug=true"
classpath = sourceSets.main.runtimeClasspath
description "Start application in debug mode with default virtual port"
group "debug"
}
task testRun(dependsOn: classes, type: JavaExec) {
main mainClass
args(["--config=D:/temp/test/numass-devices.xml", "--device=thermo-1"])
classpath = sourceSets.main.runtimeClasspath
description "Start application using real device"
group "debug"
}