numass-framework/numass-control/magnet/build.gradle

24 lines
612 B
Groovy
Raw Normal View History

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 {
2017-11-20 18:09:00 +03:00
compile project(':numass-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
}