2015-12-18 16:20:47 +03:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
2017-05-16 16:53:57 +03:00
|
|
|
version = "0.5.0"
|
2015-12-18 16:20:47 +03:00
|
|
|
|
|
|
|
if (!hasProperty('mainClass')) {
|
2017-06-08 08:19:08 +03:00
|
|
|
ext.mainClass = 'inr.numass.control.readvac.ReadVac'
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
|
|
|
mainClassName = mainClass
|
|
|
|
|
|
|
|
dependencies {
|
2016-10-22 09:40:25 +03:00
|
|
|
compile project(':numass-control')
|
2017-06-08 08:19:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
task testDevice(dependsOn: classes, type: JavaExec) {
|
|
|
|
main mainClass
|
|
|
|
args = ["--config.resource=/config-test/devices.xml"]
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
description "Start application in debug mode with default virtual port"
|
|
|
|
group "test"
|
2017-05-28 11:31:49 +03:00
|
|
|
}
|