numass-framework/numass-control/cryotemp/build.gradle
2021-11-15 11:18:00 +03:00

43 lines
970 B
Groovy

plugins{
id "org.openjfx.javafxplugin"
}
javafx {
modules = ["javafx.controls", "javafx.web"]
version = "11"
}
apply plugin: 'application'
apply plugin: 'kotlin'
version = "0.2.0";
//mainClassName = "inr.numass.readvac.Main"
dependencies {
api project(':numass-control')
}
application{
mainClassName("inr.numass.control.cryotemp.PKT8App")
}
task testDevice(dependsOn: classes, type: JavaExec) {
main "inr.numass.control.cryotemp.PKT8App"
args = ["--config.resource=config-debug/devices.xml"]
classpath = sourceSets.main.runtimeClasspath
description = "Start application in debug mode with default virtual port"
group = "application"
}
//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"
//}