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
2 changed files with 5 additions and 1 deletions
+2 -1
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._
@@ -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.