2015-12-18 16:20:47 +03:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
2019-11-18 15:56:42 +03:00
|
|
|
version = "0.6.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 {
|
2018-11-17 22:27:12 +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
|
|
|
}
|