Minor update to grind shell

This commit is contained in:
Alexander Nozik 2017-09-16 10:11:51 +03:00
parent 67d212713a
commit 2e8d0b03ca

View File

@ -36,7 +36,7 @@ task repl(dependsOn: classes, type: JavaExec) {
} }
} }
task grindTask(dependsOn: classes, type: JavaExec){ task grindTask(dependsOn: classes, type: JavaExec) {
group "numass" group "numass"
main 'inr.numass.RunTask' main 'inr.numass.RunTask'
classpath = sourceSets.main.runtimeClasspath classpath = sourceSets.main.runtimeClasspath
@ -57,3 +57,26 @@ task underflow(dependsOn: classes, type: JavaExec) {
main 'inr.numass.scripts.underflow.Underflow' main 'inr.numass.scripts.underflow.Underflow'
classpath = sourceSets.main.runtimeClasspath classpath = sourceSets.main.runtimeClasspath
} }
/*
<library>
<CLASSES>
<root url="file://$MODULE_DIR$/../../../../dataforge/dataforge-plots/plots-jfc/libs" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$MODULE_DIR$/../../../../dataforge/dataforge-plots/plots-jfc/libs" recursive="false" />
</library>
*/
idea {
module {
iml {
withXml {
def node = it.asNode()
def libNode = node.appendNode("library")
libNode.appendNode("CLASSES").appendNode("root", url: "file://\$MODULE_DIR\$/../../../../dataforge/dataforge-plots/plots-jfc/libs")
libNode.appendNode("jarDirectory", url: "file://\$MODULE_DIR\$/../../../../dataforge/dataforge-plots/plots-jfc/libs", recursive: "false")
}
}
}
}