-
-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have publishLocal accept an option such as --doc=false to disable doc JAR generation #2487
Comments
I'd gladly send a PR to tweak the current implementation. Do you think an integration test for that should be added under |
Sounds great. I think a unit test in
We should also make use of it in our own |
Good idea. It could also speed up mill-integrationtest plugin. |
There are probably two expected behaviors. One is to not publish a doc jar, the other is to still publish a doc-jar, but an empty one. This might help in situation where some minimal doc jar helps in workflows that expect one. Should we support both ( |
I often find myself disabling doc JAR stuff in
publishLocal
, as doc JAR generation can be slow (in Scala 2, it basically recompiles your code I think) or buggy (Scala 3 doc JAR sometimes just crashes in some modules of mine), and I usually don't need those when publishing something locally.It'd be nice if the
publishLocal
command accepted a--doc=false
option, to disable doc JAR generation. That way, users wouldn't have to overridepublishLocal
(and copy-paste most its original implementation) to achieve that.The text was updated successfully, but these errors were encountered: