2015-12-18 16:20:47 +03:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
2016-02-17 15:08:21 +03:00
|
|
|
version = "0.3.0"
|
2015-12-18 16:20:47 +03:00
|
|
|
|
|
|
|
if (!hasProperty('mainClass')) {
|
|
|
|
ext.mainClass = 'inr.numass.control.magnet.fx.MagnetControllerApp'
|
|
|
|
}
|
|
|
|
mainClassName = mainClass
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'ch.qos.logback:logback-classic:1.1.0+'
|
|
|
|
compile 'org.scream3r:jssc:2.8.0'
|
2017-04-05 22:07:43 +03:00
|
|
|
compile "hep.dataforge:dataforge-control" //project(':dataforge-control')
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
task talkToServer(type: JavaExec) {
|
|
|
|
description 'Console talk to remote server'
|
|
|
|
|
|
|
|
// Set main property to name of Groovy script class.
|
|
|
|
main = 'inr.numass.control.magnet.Talk'
|
|
|
|
|
|
|
|
// Set classpath for running the Groovy script.
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
standardInput = System.in
|
|
|
|
standardOutput = System.out
|
|
|
|
}
|