mirror of https://github.com/sbt/sbt.git
notes
This commit is contained in:
parent
f842bee44e
commit
98e241f5a7
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
[Cached-Resolution]: http://www.scala-sbt.org/0.13/docs/Cached-Resolution.html
|
||||
[@cunei]: https://github.com/cunei
|
||||
[@eed3si9n]: https://github.com/eed3si9n
|
||||
[@gkossakowski]: https://github.com/gkossakowski
|
||||
|
|
@ -104,7 +105,7 @@ By default circular dependencies are warned, but they do not halt the dependency
|
|||
|
||||
### Cached resolution (minigraph caching)
|
||||
|
||||
sbt 0.13.7 adds a new update option called *cached resolution*, which replaces consolidated resolution:
|
||||
sbt 0.13.7 adds a new **experimental** update option called *cached resolution*, which replaces consolidated resolution:
|
||||
|
||||
updateOptions := updateOptions.value.withCachedResolution(true)
|
||||
|
||||
|
|
@ -112,6 +113,6 @@ Unlike consolidated resolution, which only consolidated subprojects with identic
|
|||
|
||||
Once the minigraphs are resolved and saved as files, dependency resolution turns into a matter of loading json file from the second run onwards, which should complete in a matter of seconds even for large projects. Also, because the files are saved under a global `~/.sbt/0.13/dependency` (or what's specified by `sbt.dependency.base` flag), the resolution result is shared across all builds.
|
||||
|
||||
Breaking graphs into minigraphs allows partial resolution results to be shared, which scales better for subprojects with similar but slightly different dependencies, and also for making small changes to the dependencies graph over time.
|
||||
Breaking graphs into minigraphs allows partial resolution results to be shared, which scales better for subprojects with similar but slightly different dependencies, and also for making small changes to the dependencies graph over time. See [documentation on cached resolution][Cached-Resolution] for more details.
|
||||
|
||||
[#1631][1631] by [@eed3si9n][@eed3si9n]
|
||||
|
|
|
|||
Loading…
Reference in New Issue