Skip to content

Commit 9b15ac1

Browse files
committed
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.
1 parent 8fe3e37 commit 9b15ac1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

project/Build.scala

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ object DottyInjectedPlugin extends AutoPlugin {
338338
lazy val publishing = Seq(
339339
publishMavenStyle := true,
340340
publishArtifact := true,
341+
isSnapshot := version.value.contains("SNAPSHOT"),
341342
publishTo := {
342343
val nexus = "https://oss.sonatype.org/"
343344
if (isSnapshot.value)
@@ -391,13 +392,6 @@ object DottyInjectedPlugin extends AutoPlugin {
391392
)
392393
)
393394

394-
lazy val `dotty-core` = project
395-
.dependsOn(`dotty-interfaces`)
396-
.dependsOn(dotty)
397-
.dependsOn(`dotty-bridge`)
398-
.settings(publishing)
399-
.aggregate(dotty, `dotty-interfaces`, `dotty-bridge`)
400-
401395
// Partest tasks
402396
lazy val lockPartestFile = TaskKey[Unit]("lockPartestFile", "Creates the lock file at ./tests/locks/partest-<pid>.lock")
403397
lazy val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock")

0 commit comments

Comments
 (0)