Skip to content

Commit 49c20bd

Browse files
Disable javadoc publishing for dotty as mill does not support it yet
1 parent 9d8a4b1 commit 49c20bd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.sc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ object sourcecode extends Module {
7474
def moduleDeps = Seq(JvmSourcecodeModule.this)
7575
val crossScalaVersion = JvmSourcecodeModule.this.crossScalaVersion
7676
}
77+
78+
override def docJar = T {
79+
val outDir = T.ctx().dest
80+
val javadocDir = outDir / 'javadoc
81+
os.makeDir.all(javadocDir)
82+
mill.api.Result.Success(mill.modules.Jvm.createJar(Agg(javadocDir))(outDir))
83+
}
7784
}
7885

7986
object js extends Cross[JsSourcecodeModule](

0 commit comments

Comments
 (0)