aboutsummaryrefslogtreecommitdiff
path: root/project/Build.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/Build.scala')
-rw-r--r--project/Build.scala11
1 files changed, 10 insertions, 1 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 980c7ccb0..8b7238a09 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -35,7 +35,16 @@ object DottyBuild extends Build {
)
}
+ lazy val `dotty-interfaces` = project.in(file("interfaces")).
+ settings(
+ // Do not append Scala versions to the generated artifacts
+ crossPaths := false,
+ // Do not depend on the Scala library
+ autoScalaLibrary := false
+ )
+
lazy val dotty = project.in(file(".")).
+ dependsOn(`dotty-interfaces`).
settings(
// set sources to src/, tests to test/ and resources to resources/
scalaSource in Compile := baseDirectory.value / "src",
@@ -105,7 +114,7 @@ object DottyBuild extends Build {
parallelExecution in Test := false,
// http://grokbase.com/t/gg/simple-build-tool/135ke5y90p/sbt-setting-jvm-boot-paramaters-for-scala
- javaOptions <++= (managedClasspath in Runtime, packageBin in Compile) map { (attList, bin) =>
+ javaOptions <++= (dependencyClasspath in Runtime, packageBin in Compile) map { (attList, bin) =>
// put the Scala {library, reflect} in the classpath
val path = for {
file <- attList.map(_.data)