Skip to content

Instantly share code, notes, and snippets.

@holgerbrandl
Created June 14, 2018 10:56
Show Gist options
  • Save holgerbrandl/093e9e7975e21e7dd78116a80bfb0eab to your computer and use it in GitHub Desktop.
Save holgerbrandl/093e9e7975e21e7dd78116a80bfb0eab to your computer and use it in GitHub Desktop.
Custom Kshell-Launcher Example
// repl class-path
@file:DependsOn("org.apache.hadoop:hadoop-common:2.7.0")
@file:DependsOn("com.github.khud:kshell-repl-api:0.2.2-1.2.41")
@file:DependsOn("sparklin:jline3-shaded:0.2-SNAPSHOT")
@file:DependsOn("sparklin:kshell:0.2-SNAPSHOT")
@file:DependsOn("de.mpicbg.scicomp:kutils:0.10")
@file:DependsOn("com.github.holgerbrandl:kscript-support:1.2.4")
@file:DependsOn("de.mpicbg.scicomp.joblist:joblist-kotlin:1.2")
println("starting kshell with custom classpath")
sparklin.kshell.KotlinShell.main(args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment