Skip to content

Commit 01463f7

Browse files
committed
Add virtual project dotty-core to aggregate publishing of necessary artifacts
1 parent 002ed8e commit 01463f7

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

project/Build.scala

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ object DottyBuild extends Build {
5050
autoScalaLibrary := false,
5151
//Remove javac invalid options in Compile doc
5252
javacOptions in (Compile, doc) --= Seq("-Xlint:unchecked", "-Xlint:deprecation")
53-
)
53+
).
54+
settings(publishing)
5455

5556
lazy val dotty = project.in(file(".")).
5657
dependsOn(`dotty-interfaces`).
@@ -244,7 +245,8 @@ object DottyInjectedPlugin extends AutoPlugin {
244245
""")
245246
}
246247
*/
247-
)
248+
).
249+
settings(publishing)
248250

249251

250252
/** A sandbox to play with the Scala.js back-end of dotty.
@@ -349,6 +351,13 @@ object DottyInjectedPlugin extends AutoPlugin {
349351
)
350352
)
351353

354+
lazy val `dotty-core` = project
355+
.dependsOn(`dotty-interfaces`)
356+
.dependsOn(dotty)
357+
.dependsOn(`dotty-bridge`)
358+
.settings(publishing)
359+
.aggregate(dotty, `dotty-interfaces`, `dotty-bridge`)
360+
352361
// Partest tasks
353362
lazy val lockPartestFile = TaskKey[Unit]("lockPartestFile", "Creates the lock file at ./tests/locks/partest-<pid>.lock")
354363
lazy val partestLockFile = new File("." + File.separator + "tests" + File.separator + "locks" + File.separator + s"partest-$pid.lock")

0 commit comments

Comments
 (0)