2015-12-18 16:20:47 +03:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
if (!hasProperty('mainClass')) {
|
|
|
|
ext.mainClass = 'inr.numass.Main'
|
|
|
|
}
|
|
|
|
mainClassName = mainClass
|
|
|
|
|
|
|
|
description = """The main head of all numass projects"""
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-cli', name: 'commons-cli', version:'1.+'
|
|
|
|
compile group: 'commons-io', name: 'commons-io', version:'2.+'
|
2016-08-04 17:14:42 +03:00
|
|
|
compile project(':dataforge-stat:dataforge-minuit')
|
2015-12-18 16:20:47 +03:00
|
|
|
compile project(':dataforge-fx')
|
|
|
|
compile project(':dataforge-plots')
|
2016-05-02 18:23:03 +03:00
|
|
|
compile project(':numass-storage')
|
2016-07-27 20:18:42 +03:00
|
|
|
compile project(':dataforge-grind')
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
|
|
|
|
2016-05-31 20:05:15 +03:00
|
|
|
task workbench(dependsOn: classes, type: JavaExec){
|
|
|
|
main 'inr.numass.workbench.Workbench'
|
2015-12-18 16:20:47 +03:00
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
2016-05-31 20:05:15 +03:00
|
|
|
description "start visual numass workbench"
|
2015-12-18 16:20:47 +03:00
|
|
|
group "numass"
|
2016-05-31 20:05:15 +03:00
|
|
|
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
task listActions(dependsOn: classes, type: JavaExec) {
|
|
|
|
main mainClass
|
|
|
|
args "-lc"
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
description "print a list of available actions as via -lc command line parameter"
|
|
|
|
group "numass"
|
|
|
|
}
|