Skip to content

Commit f331d11

Browse files
committed
Merge pull request #54 from retronym/ticket/53
Avoid unnecessary dependency on scala-{compiler,reflect}.jar
2 parents 4313c26 + 6ff53ed commit f331d11

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build.sbt

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ lazy val commonSettings = Seq(
1212
scalaVersion := "2.11.7",
1313
crossScalaVersions := List("2.11.7" /* TODO, "2.12.0-M3"*/),
1414
organization := "org.scala-lang.modules",
15-
version := "0.6.0-SNAPSHOT",
16-
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value,
17-
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value
15+
version := "0.6.0-SNAPSHOT"
1816
)
1917

2018
lazy val fnGen = (project in file("fnGen")).
2119
settings(commonSettings: _*).
2220
settings(
23-
fork in run := true // Needed if you run this project directly
21+
fork in run := true, // Needed if you run this project directly
22+
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value,
23+
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value
2424
)
2525

2626
lazy val root = (project in file(".")).
27-
dependsOn(fnGen).
2827
settings(scalaModuleSettings: _*).
2928
settings(commonSettings: _*).
3029
settings(

0 commit comments

Comments
 (0)