From 01463f7024513a979aeed802173364a524c9ff04 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Tue, 7 Jun 2016 19:38:19 +0200 Subject: Add virtual project `dotty-core` to aggregate publishing of necessary artifacts --- project/Build.scala | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'project') 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-.lock") lazy val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock") -- cgit v1.2.3