0
comment
comment
on 12/8/2010 1:42 AM
A fairly nice technique to speed up update- times in SBT is by using ModuleConfigurations. A ModuleConfiguration can be viewed as a filter on top of a repository, saying: “Only look in the repository if the artifact you’re looking for has the following group id.”
Pattern:
class MyProject(info: ProjectInfo) extends DefaultProject(info) {
object Repositories {
//Add repositories here, they won’t be used for artifact lookup since they’re inside the object
lazy val ScalaToolsRepo = MavenRepository(“Scala [...]