mirror of https://github.com/sbt/sbt.git
Add eviction warnings options to global
This commit is contained in:
parent
90cd60f3b9
commit
36438d2ac3
|
|
@ -1753,6 +1753,7 @@ object Classpaths {
|
|||
Defaults.globalDefaults(
|
||||
Seq(
|
||||
conflictWarning :== ConflictWarning.default("global"),
|
||||
evictionWarningOptions := EvictionWarningOptions.default,
|
||||
compatibilityWarningOptions :== CompatibilityWarningOptions.default,
|
||||
homepage :== None,
|
||||
startYear :== None,
|
||||
|
|
@ -1988,7 +1989,6 @@ object Classpaths {
|
|||
val suffix = if (crossPaths.value) s"_$binVersion" else ""
|
||||
s"update_cache$suffix"
|
||||
},
|
||||
evictionWarningOptions in update := EvictionWarningOptions.default,
|
||||
dependencyPositions := dependencyPositionsTask.value,
|
||||
unresolvedWarningConfiguration in update := UnresolvedWarningConfiguration(
|
||||
dependencyPositions.value),
|
||||
|
|
@ -1999,6 +1999,7 @@ object Classpaths {
|
|||
ConflictWarning(conflictWarning.value, report, log)
|
||||
report
|
||||
},
|
||||
evictionWarningOptions in update := (evictionWarningOptions in GlobalScope).value,
|
||||
evictionWarningOptions in evicted := EvictionWarningOptions.full,
|
||||
evicted := {
|
||||
import ShowLines._
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
### Improvements
|
||||
|
||||
- Add the eviction warning options to global, so that one can change the options for all sub projects at a time.
|
||||
Loading…
Reference in New Issue