小编Mac*_*you的帖子

我怎样才能让sbt下载scala-library.jar的源代码?

我知道如果我在定义一个依赖项时添加了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

14
推荐指数
1
解决办法
7776
查看次数

标签 统计

sbt ×1

scala ×1