2021-11-15 11:18:00 +03:00
|
|
|
|
|
|
|
plugins{
|
|
|
|
id "org.openjfx.javafxplugin"
|
|
|
|
}
|
|
|
|
|
|
|
|
javafx {
|
|
|
|
modules = ["javafx.controls", "javafx.web"]
|
2023-11-08 16:15:36 +03:00
|
|
|
version = "16"
|
2021-11-15 11:18:00 +03:00
|
|
|
}
|
|
|
|
|
2021-05-29 13:45:33 +03:00
|
|
|
apply plugin: 'application'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
2021-05-29 19:18:28 +03:00
|
|
|
|
2021-05-29 13:45:33 +03:00
|
|
|
|
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
//mainClassName = "inr.numass.readvac.Main"
|
|
|
|
|
|
|
|
dependencies {
|
2021-11-13 13:30:39 +03:00
|
|
|
api project(':numass-control')
|
2021-05-29 13:45:33 +03:00
|
|
|
}
|
|
|
|
|
2021-05-29 19:18:28 +03:00
|
|
|
application{
|
2023-11-08 16:15:36 +03:00
|
|
|
mainClassName = "inr.numass.control.cryotemp.PKT8AppKt"
|
2021-05-29 19:18:28 +03:00
|
|
|
}
|
|
|
|
|
2021-05-29 13:45:33 +03:00
|
|
|
task testDevice(dependsOn: classes, type: JavaExec) {
|
2021-05-29 19:18:28 +03:00
|
|
|
main "inr.numass.control.cryotemp.PKT8App"
|
2021-05-29 13:45:33 +03:00
|
|
|
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"
|
|
|
|
//}
|