numass-framework/numass-storage/numass-client/build.gradle

24 lines
617 B
Groovy
Raw Normal View History

2015-12-18 16:20:47 +03:00
apply plugin: 'application'
if (!hasProperty('mainClass')) {
2016-04-19 21:15:55 +03:00
ext.mainClass = 'inr.numass.client.Cli'
2015-12-18 16:20:47 +03:00
}
mainClassName = mainClass
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 {
2016-10-13 22:49:01 +03:00
compile project(':numass-storage')
2015-12-18 16:20:47 +03:00
compile 'commons-cli:commons-cli:1.3.1'
compile 'org.zeroturnaround:zt-zip:1.9'
}