How to skip javadoc dependency download with sbt

馋奶兔 提交于 2019-12-03 11:55:56
Vadzim

https://github.com/mpeltonen/sbt-idea/issues/225#issuecomment-19150022 kindly gives the answer:

The javadoc is typically much more bulky and less useful than the sources. I have at least turned off downloading javadocs by putting this setting in ~/.sbt/build.sbt:

transitiveClassifiers in Global := Seq(Artifact.SourceClassifier)

See also What is a classifier in SBT.

Note that ~/.sbt/build.sbt on Linux corresponds to %USERPROFILE%\.sbt\build.sbt on Windows.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!