Created
June 6, 2018 08:09
-
-
Save holgerbrandl/103cbca997b7201a072ccc303e52f9c5 to your computer and use it in GitHub Desktop.
Launch kshell with a maven resolved classpath
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env kscript | |
| // 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") | |
| // user classpath | |
| @file:DependsOn("com.offbytwo:docopt:0.6.0.20150202","log4j:log4j:1.2.14") | |
| 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