@@ -77,10 +77,15 @@ object DottyBuild extends Build {
77
77
)
78
78
79
79
/** Projects -------------------------------------------------------------- */
80
+ // The root project:
81
+ // - aggregates other projects so that "compile", "test", etc are run on all projects at once.
82
+ // - publishes its own empty artifact "dotty" that depends on "dotty-library" and "dotty-compiler",
83
+ // this is only necessary for compatibility with sbt which currently hardcodes the "dotty" artifact name
80
84
lazy val dotty = project.in(file(" ." )).
85
+ // FIXME: we do not aggregate `bin` because its tests delete jars, thus breaking other tests
86
+ aggregate(`dotty-interfaces`, `dotty-library`, `dotty-compiler`, `dotty-sbt-bridge`, `scala-library`).
81
87
dependsOn(`dotty-compiler`).
82
88
dependsOn(`dotty-library`).
83
- dependsOn(`dotty-interfaces`).
84
89
settings(
85
90
addCommandAlias(" dotr" , " dotty-compiler/dotr" ) ++
86
91
addCommandAlias(" dotc" , " dotty-compiler/dotc" ) ++
@@ -341,6 +346,7 @@ object DottyBuild extends Build {
341
346
lazy val bin = project.in(file(" bin" )).
342
347
settings(sourceStructure).
343
348
settings(
349
+ publishArtifact := false ,
344
350
parallelExecution in Test := false ,
345
351
libraryDependencies +=
346
352
" com.novocode" % " junit-interface" % " 0.11" % " test"
0 commit comments