Last active
December 19, 2015 06:19
-
-
Save sethrylan/5910509 to your computer and use it in GitHub Desktop.
ScalaConsole from org.ScalaConsole library
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 { | |
flatDir name: 'localLib', dirs: 'lib' | |
mavenCentral() | |
} | |
ext { | |
versions = [ | |
scala: '2.9.2', | |
scalatest: '2.0.M3', | |
scalacheck: '1.10.1' | |
] | |
} | |
dependencies { | |
runtime "org.scala-lang:scala-compiler:$versions.scala" | |
runtime "org.scalaconsole:ScalaConsole:2.9.2-1.5.RC4Special" | |
runtime "org.scala-lang:scala-swing:$versions.scala" | |
compile "org.scala-lang:scala-library:$versions.scala" | |
} | |
task console(type: JavaExec, dependsOn: classes){ | |
main = 'org.scalaconsole.ScalaConsole' | |
classpath = configurations.runtime + sourceSets.main.output + sourceSets.test.output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment