numass-framework/grind/grind-terminal/build.gradle

56 lines
1.4 KiB
Groovy
Raw Normal View History

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"]
2023-11-08 16:15:36 +03:00
version = "16"
}
2021-05-29 19:18:28 +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'
}
task shell(dependsOn: classes, type: JavaExec) {
2021-05-29 19:18:28 +03:00
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"
2021-05-29 19:18:28 +03:00
}
application{
mainClassName("hep.dataforge.grind.terminal.RunGrindShell")
}