summaryrefslogtreecommitdiff
path: root/project/plugins.sbt
diff options
context:
space:
mode:
authorStefan Zeiger <szeiger@novocode.com>2015-10-28 20:28:52 +0100
committerStefan Zeiger <szeiger@novocode.com>2015-10-29 16:46:25 +0100
commit9debc84dcd57c331c184a3cf58b627045db632e0 (patch)
tree7e9fbec53a982fdf98ee09a20a1ed63d3e40cdcf /project/plugins.sbt
parent5e080eb204dab36dd4ae1e42adc63737fe8a9e6d (diff)
downloadscala-9debc84dcd57c331c184a3cf58b627045db632e0.tar.gz
scala-9debc84dcd57c331c184a3cf58b627045db632e0.tar.bz2
scala-9debc84dcd57c331c184a3cf58b627045db632e0.zip
Create shaded JLine in sbt build
Reusing parts of #4593, this commits adds two additional subprojects to the sbt build: - repl-jline, which is already used by the ant build, builds the part of the REPL that depends on JLine. The actual JLine depenency is moved to this project. - repl-jline-shaded uses JarJar to create a shaded version of repl-jline and jline.jar. Unlike the ant build, this setup does not use any circular dependencies. dist/mkBin puts all of quick/repl, quick/repl-jline and quick/repl-jline-shaded onto the classpath of build-sbt/quick/bin/scala. A future addition to the sbt build for building build-sbt/pack will have to put the generated classfiles into the correct JARs, mirroring the old structure.
Diffstat (limited to 'project/plugins.sbt')
-rw-r--r--project/plugins.sbt4
1 files changed, 3 insertions, 1 deletions
diff --git a/project/plugins.sbt b/project/plugins.sbt
index dc266a8db1..862887d57f 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1 +1,3 @@
-libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.3.2" \ No newline at end of file
+libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.3.2"
+
+libraryDependencies += "org.pantsbuild" % "jarjar" % "1.6.0"