From 0722b7c31d0bcc86953738d98de65b1fbbabc6b9 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sat, 29 Aug 2015 21:21:55 +1000 Subject: [PATCH 1/2] Avoid unnecessary dependency on scala-{compiler,reflect}.jar These are only needed for the code generator sub project. Fixes #53 --- build.sbt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 1b105c7..957b394 100644 --- a/build.sbt +++ b/build.sbt @@ -12,15 +12,15 @@ lazy val commonSettings = Seq( scalaVersion := "2.11.7", crossScalaVersions := List("2.11.7" /* TODO, "2.12.0-M3"*/), organization := "org.scala-lang.modules", - version := "0.6.0-SNAPSHOT", - libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value, - libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value + version := "0.6.0-SNAPSHOT" ) lazy val fnGen = (project in file("fnGen")). settings(commonSettings: _*). settings( - fork in run := true // Needed if you run this project directly + fork in run := true, // Needed if you run this project directly + libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value, + libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value ) lazy val root = (project in file(".")). From 6ff53ed8ad2deae551ef884efdd5bc60fcba92bc Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sat, 29 Aug 2015 21:56:30 +1000 Subject: [PATCH 2/2] Remove unneeded dependency core -> fnGen After this change: ``` org.scala-lang scala-library 2.11.7 junit junit 4.11 test org.apache.commons commons-lang3 3.4 test com.novocode junit-interface 0.10 test ``` Fixes #52 --- build.sbt | 1 - 1 file changed, 1 deletion(-) diff --git a/build.sbt b/build.sbt index 957b394..7209f4c 100644 --- a/build.sbt +++ b/build.sbt @@ -24,7 +24,6 @@ lazy val fnGen = (project in file("fnGen")). ) lazy val root = (project in file(".")). - dependsOn(fnGen). settings(scalaModuleSettings: _*). settings(commonSettings: _*). settings(