numass-framework/numass-control/cryotemp/build.gradle

32 lines
962 B
Groovy
Raw Normal View History

2016-09-28 17:04:18 +03:00
apply plugin: 'application'
if (!hasProperty('mainClass')) {
ext.mainClass = 'inr.numass.cryotemp.PKT8App'
}
mainClassName = mainClass
//mainClassName = "inr.numass.readvac.Main"
dependencies {
2016-10-09 14:04:26 +03:00
// compile 'commons-cli:commons-cli:1.3'
// compile 'de.jensd:shichimifx:1.0.5'
2016-09-28 17:04:18 +03:00
compile project(':dataforge-control')
compile project(':dataforge-storage')
2016-09-29 13:52:24 +03:00
compile project(':dataforge-plots:plots-jfc')
}
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"
2016-10-07 14:19:01 +03:00
}
task testRun(dependsOn: classes, type: JavaExec) {
main mainClass
args(["--cfgFile=D:/temp/test/numass-devices.xml", "--device=thermo-1"])
classpath = sourceSets.main.runtimeClasspath
description "Start application using real device"
group "debug"
2016-09-28 17:04:18 +03:00
}