File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import de.tobiasroeser.mill.vcs.version.VcsVersion
10
10
11
11
val dottyVersions = sys.props.get(" dottyVersion" ).toList
12
12
13
- val scalaVersions = " 2.12.13" :: " 2.13.4" :: " 3.0.0-M3 " :: dottyVersions
13
+ val scalaVersions = " 2.12.13" :: " 2.13.4" :: " 3.0.0-RC1 " :: dottyVersions
14
14
val scala2Versions = scalaVersions.filter(_.startsWith(" 2." ))
15
15
16
16
val scalaJSVersions = for {
@@ -31,6 +31,16 @@ object os extends Module {
31
31
object test extends Tests with OsLibTestModule {
32
32
def platformSegment = " jvm"
33
33
}
34
+ // FIXME: scaladoc 3 is not supported by mill yet. Remove the override
35
+ // once it is.
36
+ override def docJar =
37
+ if (crossScalaVersion.startsWith(" 2" )) super .docJar
38
+ else T {
39
+ val outDir = T .ctx().dest
40
+ val javadocDir = outDir / ' javadoc
41
+ _root_.os.makeDir.all(javadocDir)
42
+ mill.api.Result .Success (mill.modules.Jvm .createJar(Agg (javadocDir))(outDir))
43
+ }
34
44
}
35
45
object native extends Cross [OsNativeModule ](scalaNativeVersions:_* )
36
46
You can’t perform that action at this time.
0 commit comments