mirror of https://github.com/sbt/sbt.git
Merge pull request #77 from alexarchambault/topic/local-first-by-default
Enable fetch-from-cache-first by default
This commit is contained in:
commit
f40b3b3508
|
|
@ -93,7 +93,7 @@ package object coursier {
|
||||||
def process: ResolutionProcess = ResolutionProcess(underlying)
|
def process: ResolutionProcess = ResolutionProcess(underlying)
|
||||||
}
|
}
|
||||||
|
|
||||||
implicit def fetch(
|
def fetch(
|
||||||
repositories: Seq[core.Repository]
|
repositories: Seq[core.Repository]
|
||||||
)(implicit
|
)(implicit
|
||||||
cachePolicy: CachePolicy
|
cachePolicy: CachePolicy
|
||||||
|
|
@ -110,7 +110,7 @@ package object coursier {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
def fetchLocalFirst(
|
implicit def fetchLocalFirst(
|
||||||
repositories: Seq[core.Repository]
|
repositories: Seq[core.Repository]
|
||||||
)(implicit
|
)(implicit
|
||||||
cachePolicy: CachePolicy
|
cachePolicy: CachePolicy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue