Add eviction warnings options to global

This commit is contained in:
exoego 2018-02-15 22:33:11 +09:00
parent 90cd60f3b9
commit 36438d2ac3
2 changed files with 5 additions and 1 deletions

View File

@ -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._

View File

@ -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.