aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-02-28 20:10:31 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-02-28 20:10:31 +0100
commitba67e556271156c11f5f313f68891bf18f7a51d2 (patch)
tree8d091cbf9789000ac72910a3735b7e01da92362c /project
parentc2cb4694556731aaa243889d702afb5ac2b9e74a (diff)
parent7e7ee820df7647680d9aaf1ca991fe9718159097 (diff)
downloaddotty-ba67e556271156c11f5f313f68891bf18f7a51d2.tar.gz
dotty-ba67e556271156c11f5f313f68891bf18f7a51d2.tar.bz2
dotty-ba67e556271156c11f5f313f68891bf18f7a51d2.zip
Merge pull request #1125 from dotty-staging/add/interface
Add a `dotty-interfaces` package
Diffstat (limited to 'project')
-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)