Last active
April 26, 2017 17:26
-
-
Save pintowar/4619f6a0d22c9cd2adfcb74fa9e11a10 to your computer and use it in GitHub Desktop.
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
apply plugin: 'scala' | |
repositories{ | |
mavenCentral() | |
} | |
dependencies{ | |
compile "org.scala-lang:scala-library:2.11.8" | |
compile "org.scala-lang:scala-compiler:2.11.8" | |
} | |
task repl(type:JavaExec) { | |
main = "scala.tools.nsc.MainGenericRunner" | |
classpath = sourceSets.main.runtimeClasspath | |
standardInput System.in | |
args '-usejavacp' | |
} | |
// run with "gradle repl --console plain --no-daemon" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment