2021-05-29 19:18:28 +03:00
|
|
|
plugins {
|
|
|
|
id 'groovy'
|
|
|
|
id 'application'
|
2021-11-13 13:30:39 +03:00
|
|
|
id "com.github.johnrengelman.shadow"
|
2021-11-15 11:18:00 +03:00
|
|
|
id "org.openjfx.javafxplugin"
|
|
|
|
}
|
|
|
|
|
|
|
|
javafx {
|
|
|
|
modules = ["javafx.controls", "javafx.web"]
|
|
|
|
version = "11"
|
2021-05-29 13:45:33 +03:00
|
|
|
}
|
|
|
|
|
2021-05-29 19:18:28 +03:00
|
|
|
|
2021-05-29 13:45:33 +03:00
|
|
|
//apply plugin: 'org.openjfx.javafxplugin'
|
|
|
|
//
|
|
|
|
//javafx {
|
|
|
|
// modules = [ 'javafx.controls' ]
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
description = 'The grind plugin for dataforge framework'
|
|
|
|
|
|
|
|
dependencies {
|
2021-11-13 13:30:39 +03:00
|
|
|
api project(':grind')
|
|
|
|
api project(':dataforge-plots:plots-jfc')
|
|
|
|
api project(':dataforge-gui')
|
|
|
|
api group: 'org.jline', name: 'jline', version: '3.5.1'
|
|
|
|
// api group: 'net.java.dev.jna', name: 'jna', version: '4.4.0'
|
|
|
|
api group: 'org.fusesource.jansi', name: 'jansi', version: '1.16'
|
2021-05-29 13:45:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
task shell(dependsOn: classes, type: JavaExec) {
|
2021-05-29 19:18:28 +03:00
|
|
|
main "hep.dataforge.grind.terminal.RunGrindShell"
|
2021-05-29 13:45:33 +03:00
|
|
|
// 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"
|
2021-05-29 19:18:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
application{
|
|
|
|
mainClassName("hep.dataforge.grind.terminal.RunGrindShell")
|
2021-05-29 13:45:33 +03:00
|
|
|
}
|