numass-framework/numass-main/build.gradle

44 lines
1.3 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 = "Main numass project"
2015-12-18 16:20:47 +03:00
dependencies {
2016-09-04 19:40:36 +03:00
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')
2016-09-04 19:40:36 +03:00
compile project(':dataforge-plots:plots-jfc')
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
}
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"
2016-09-04 19:40:36 +03:00
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
2016-10-22 22:01:24 +03:00
args ["--config",]
2016-08-29 16:38:11 +03:00
group "numass"
2015-12-18 16:20:47 +03:00
}