numass-framework/numass-main/build.gradle

51 lines
1.5 KiB
Groovy
Raw Normal View History

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"
}
task workspace(dependsOn: classes, type: JavaExec) {
main 'inr.numass.workspace.NumassGrindLauncher'
classpath = sourceSets.main.runtimeClasspath
2016-08-26 19:21:43 +03:00
args "-c \"D:\\Work\\Numass\\sterile2016\\workspace.groovy\" numass.fitsum sum_down".split()
description "Run workspace task"
group "numass"
2016-08-29 16:38:11 +03:00
}
2016-08-29 16:38:11 +03:00
task repl(dependsOn: classes, type: JavaExec) {
main 'inr.numass.LaunchGrindShell'
classpath = sourceSets.main.runtimeClasspath
description "Start Grind repl"
standardInput = System.in
standardOutput = System.out
group "numass"
2015-12-18 16:20:47 +03:00
}