diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-06-10 10:24:40 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-06-10 10:24:40 +0200 |
commit | 9b15ac10f129a3579f02b2c1b776ba6fa7654edc (patch) | |
tree | 63b07fe72be470125562999d78355dc41efb0644 /project | |
parent | 8fe3e3720d820a376782b9db2592534c985f2e41 (diff) | |
download | dotty-9b15ac10f129a3579f02b2c1b776ba6fa7654edc.tar.gz dotty-9b15ac10f129a3579f02b2c1b776ba6fa7654edc.tar.bz2 dotty-9b15ac10f129a3579f02b2c1b776ba6fa7654edc.zip |
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.
Diffstat (limited to 'project')
-rw-r--r-- | project/Build.scala | 8 |
1 files changed, 1 insertions, 7 deletions
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-<pid>.lock") lazy val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock") |