forked from NPM/numass-framework
50 lines
1.4 KiB
Groovy
50 lines
1.4 KiB
Groovy
plugins {
|
|
id 'groovy'
|
|
id 'application'
|
|
id "com.github.johnrengelman.shadow" version "7.0.0"
|
|
}
|
|
|
|
|
|
//apply plugin: 'org.openjfx.javafxplugin'
|
|
//
|
|
//javafx {
|
|
// modules = [ 'javafx.controls' ]
|
|
//}
|
|
|
|
|
|
|
|
description = 'The grind plugin for dataforge framework'
|
|
|
|
dependencies {
|
|
compile project(':grind')
|
|
compile project(':dataforge-plots:plots-jfc')
|
|
compile project(':dataforge-gui')
|
|
compile group: 'org.jline', name: 'jline', version: '3.5.1'
|
|
// compile group: 'net.java.dev.jna', name: 'jna', version: '4.4.0'
|
|
compile group: 'org.fusesource.jansi', name: 'jansi', version: '1.16'
|
|
}
|
|
|
|
task shell(dependsOn: classes, type: JavaExec) {
|
|
main "hep.dataforge.grind.terminal.RunGrindShell"
|
|
// jvmArgs ['-Djansi.passthrough=true']
|
|
standardInput = System.in
|
|
standardOutput = System.out
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
description "Start a Grind shell with default context in terminal"
|
|
group "dataforge"
|
|
}
|
|
|
|
task dumbShell(dependsOn: classes, type: JavaExec) {
|
|
main 'hep.dataforge.grind.terminal.RunDumbGrindShell'
|
|
// jvmArgs ['-Djansi.passthrough=true']
|
|
|
|
standardInput = System.in
|
|
standardOutput = System.out
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
description "Start a Grind shell with default context in dumb terminal"
|
|
group "dataforge"
|
|
}
|
|
|
|
application{
|
|
mainClassName("hep.dataforge.grind.terminal.RunGrindShell")
|
|
} |