summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2015-11-19 19:32:19 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2016-07-22 03:47:45 +0200
commitdc326cd8213ef15cb7647dddfc5144ae47b01b5e (patch)
tree5f38a7222efa9d900b7835c153c2d07c3af4f191 /build.sbt
parent6b99dfe746cbb76828db495b58e55db2a0265ee2 (diff)
downloadscala-dc326cd8213ef15cb7647dddfc5144ae47b01b5e.tar.gz
scala-dc326cd8213ef15cb7647dddfc5144ae47b01b5e.tar.bz2
scala-dc326cd8213ef15cb7647dddfc5144ae47b01b5e.zip
SI-9560 Remove dependency on parser-combinators/json
Also update a few example IDE files for Eclipse and IntelliJ. This drops the dependency by integrating the bare minimum functionality to keep things working.
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.sbt b/build.sbt
index 1d4e208da2..78f30c220f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -56,9 +56,9 @@
import VersionUtil._
// Scala dependencies:
-val scalaParserCombinatorsDep = scalaDep("org.scala-lang.modules", "scala-parser-combinators")
val scalaSwingDep = scalaDep("org.scala-lang.modules", "scala-swing")
val scalaXmlDep = scalaDep("org.scala-lang.modules", "scala-xml")
+val scalaParserCombinatorsDep = scalaDep("org.scala-lang.modules", "scala-parser-combinators")
val partestDep = scalaDep("org.scala-lang.modules", "scala-partest", versionProp = "partest")
// Non-Scala dependencies:
@@ -398,7 +398,7 @@ lazy val compiler = configureAsSubproject(project)
description := "Scala Compiler",
libraryDependencies ++= Seq(antDep, asmDep),
// These are only needed for the POM:
- libraryDependencies ++= Seq(scalaXmlDep, scalaParserCombinatorsDep, jlineDep % "optional"),
+ libraryDependencies ++= Seq(scalaXmlDep, jlineDep % "optional"),
// this a way to make sure that classes from interactive and scaladoc projects
// end up in compiler jar (that's what Ant build does)
// we need to use LocalProject references (with strings) to deal with mutual recursion
@@ -427,7 +427,6 @@ lazy val compiler = configureAsSubproject(project)
Osgi.headers ++= Seq(
"Import-Package" -> ("jline.*;resolution:=optional," +
"org.apache.tools.ant.*;resolution:=optional," +
- "scala.util.parsing.*;version=\"${range;[====,====];"+versionNumber("scala-parser-combinators")+"}\";resolution:=optional," +
"scala.xml.*;version=\"${range;[====,====];"+versionNumber("scala-xml")+"}\";resolution:=optional," +
"scala.*;version=\"${range;[==,=+);${ver}}\"," +
"*"),
@@ -521,7 +520,7 @@ lazy val scaladoc = configureAsSubproject(project)
.settings(
name := "scala-compiler-doc",
description := "Scala Documentation Generator",
- libraryDependencies ++= Seq(scalaXmlDep, scalaParserCombinatorsDep, partestDep),
+ libraryDependencies ++= Seq(scalaXmlDep, partestDep),
includeFilter in unmanagedResources in Compile := "*.html" | "*.css" | "*.gif" | "*.png" | "*.js" | "*.txt" | "*.svg" | "*.eot" | "*.woff" | "*.ttf"
)
.dependsOn(compiler)