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

35 lines
839 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
2017-05-15 22:16:59 +03:00
version = "0.2.0";
2016-10-14 16:31:21 +03:00
2016-09-28 17:04:18 +03:00
//mainClassName = "inr.numass.readvac.Main"
dependencies {
2016-10-22 09:40:25 +03:00
compile project(':numass-control')
2016-09-29 13:52:24 +03:00
}
task debug(dependsOn: classes, type: JavaExec) {
main mainClass
args "--config.resource=/config-debug/devices.xml"
2016-09-29 13:52:24 +03:00
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(["--config=D:/temp/test/numass-devices.xml", "--device=thermo-1"])
2016-10-07 14:19:01 +03:00
classpath = sourceSets.main.runtimeClasspath
description "Start application using real device"
group "debug"
2016-09-28 17:04:18 +03:00
}