我知道如果我在定义一个依赖项时添加了withSources,sbt可以自动下载源jar文件.例如,
val specs ="org.scala-tools.testing"%"specs_2.8.1"%"1.6.6"%"test"withSources()
但是对于scala-library.jar和scala-compiler.jar,我不需要明确定义它们,我怎样才能让sbt为我下载它们的源代码?因此,在使用sbt-idea-plugin生成构思项目后,我不需要手动配置它.
scala sbt
sbt ×1
scala ×1