2017-04-15 22:15:53 +03:00
|
|
|
apply plugin: 'groovy'
|
|
|
|
|
2016-11-12 18:11:17 +03:00
|
|
|
description = "Test module for numass client and server"
|
|
|
|
|
2017-04-15 22:15:53 +03:00
|
|
|
|
2016-11-12 18:11:17 +03:00
|
|
|
task runServer(type: JavaExec) {
|
|
|
|
description 'Start numass server locally'
|
|
|
|
|
|
|
|
// Set main property to name of Groovy script class.
|
|
|
|
main = 'inr.numass.scripts.TestServer'
|
|
|
|
|
|
|
|
// Set classpath for running the Groovy script.
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
standardInput = System.in
|
|
|
|
}
|
|
|
|
|
|
|
|
task runClient(type: JavaExec) {
|
|
|
|
description 'Start numass client locally'
|
|
|
|
|
|
|
|
// Set main property to name of Groovy script class.
|
|
|
|
main = 'inr.numass.scripts.TestClient'
|
|
|
|
|
|
|
|
// Set classpath for running the Groovy script.
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
standardInput = System.in
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-04-15 22:15:53 +03:00
|
|
|
compile project(':numass-client')
|
|
|
|
compile project(':numass-server')
|
2017-04-29 20:40:40 +03:00
|
|
|
compile "hep.dataforge:grind" //project(':dataforge-grind')
|
2017-04-15 22:15:53 +03:00
|
|
|
}
|