From 9b15ac10f129a3579f02b2c1b776ba6fa7654edc Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Fri, 10 Jun 2016 10:24:40 +0200 Subject: remove `dotty-core` project and publish individually instead Since you still need to depend on multiple artifacts from within the dotty project, a unified project is not feasible. A plugin would work better of course. --- project/Build.scala | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'project/Build.scala') diff --git a/project/Build.scala b/project/Build.scala index 59b873986..2104d9b37 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -338,6 +338,7 @@ object DottyInjectedPlugin extends AutoPlugin { lazy val publishing = Seq( publishMavenStyle := true, publishArtifact := true, + isSnapshot := version.value.contains("SNAPSHOT"), publishTo := { val nexus = "https://oss.sonatype.org/" if (isSnapshot.value) @@ -391,13 +392,6 @@ 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