We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8a4b1 commit 49c20bdCopy full SHA for 49c20bd
build.sc
@@ -74,6 +74,13 @@ object sourcecode extends Module {
74
def moduleDeps = Seq(JvmSourcecodeModule.this)
75
val crossScalaVersion = JvmSourcecodeModule.this.crossScalaVersion
76
}
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
+ }
84
85
86
object js extends Cross[JsSourcecodeModule](
0 commit comments