-
|
In a mixed Java + Scala 3 project, Note that, in my project, all Scala classes are private. So, I only care to document the Java classes. I've set up the project as a Scala module (using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
AFAIK, there is currently no way to include Javadoc in Scaladoc. (We also have this issue in Mill itself, #5927) There exists a tool If you're only interested in the Javadoc, you can override the
|
Beta Was this translation helpful? Give feedback.
-
|
I solved 2 by adding a link to |
Beta Was this translation helpful? Give feedback.
AFAIK, there is currently no way to include Javadoc in Scaladoc. (We also have this issue in Mill itself, #5927) There exists a tool
genjavadocthat can generate Javadoc from Scala files, but it might be limited.If you're only interested in the Javadoc, you can override the
docJartask to either:just return the
super[JavaModule].docJar()result orimplement it by packaging the result of
javadocGeneratedtask into a jar. Basically copy and paste these lines:mill/libs/javalib/src/mill/javalib/JavaModule.scala
Lines 1377 to 1379 in db82653