diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-02-28 20:10:31 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-02-28 20:10:31 +0100 |
commit | ba67e556271156c11f5f313f68891bf18f7a51d2 (patch) | |
tree | 8d091cbf9789000ac72910a3735b7e01da92362c /project | |
parent | c2cb4694556731aaa243889d702afb5ac2b9e74a (diff) | |
parent | 7e7ee820df7647680d9aaf1ca991fe9718159097 (diff) | |
download | dotty-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.scala | 11 |
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) |