Merge pull request #3947 from exoego/global-eviction-warning-options

Add the eviction warnings options to global
This commit is contained in:
eugene yokota 2018-03-07 20:40:24 -05:00 committed by GitHub
commit ec93e3e9d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.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.