aboutsummaryrefslogtreecommitdiff
path: root/project/Build.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-06-07 19:38:19 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-06-09 11:38:40 +0200
commit01463f7024513a979aeed802173364a524c9ff04 (patch)
treef09a41b4eafd21e7cb3be5998c9f636ae4667069 /project/Build.scala
parent002ed8e1ccaf6e821c75da3a4bfad3b3c12da0ab (diff)
downloaddotty-01463f7024513a979aeed802173364a524c9ff04.tar.gz
dotty-01463f7024513a979aeed802173364a524c9ff04.tar.bz2
dotty-01463f7024513a979aeed802173364a524c9ff04.zip
Add virtual project `dotty-core` to aggregate publishing of necessary artifacts
Diffstat (limited to 'project/Build.scala')
-rw-r--r--project/Build.scala13
1 files changed, 11 insertions, 2 deletions
diff --git a/project/Build.scala b/project/Build.scala
index db3587772..4a8bfd522 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -50,7 +50,8 @@ object DottyBuild extends Build {
autoScalaLibrary := false,
//Remove javac invalid options in Compile doc
javacOptions in (Compile, doc) --= Seq("-Xlint:unchecked", "-Xlint:deprecation")
- )
+ ).
+ settings(publishing)
lazy val dotty = project.in(file(".")).
dependsOn(`dotty-interfaces`).
@@ -244,7 +245,8 @@ object DottyInjectedPlugin extends AutoPlugin {
""")
}
*/
- )
+ ).
+ settings(publishing)
/** A sandbox to play with the Scala.js back-end of dotty.
@@ -349,6 +351,13 @@ object DottyInjectedPlugin extends AutoPlugin {
)
)
+ lazy val `dotty-core` = project
+ .dependsOn(`dotty-interfaces`)
+ .dependsOn(dotty)
+ .dependsOn(`dotty-bridge`)
+ .settings(publishing)
+ .aggregate(dotty, `dotty-interfaces`, `dotty-bridge`)
+
// Partest tasks
lazy val lockPartestFile = TaskKey[Unit]("lockPartestFile", "Creates the lock file at ./tests/locks/partest-<pid>.lock")
lazy val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock")