Fixes #1615. Move the invocation of eviction warning.

This moves the invocation of eviction warning so it’s called only when
actual ivy update is being performed.
This commit is contained in:
Eugene Yokota 2014-12-12 17:46:19 -05:00
parent 8b23703081
commit 08e9230aeb
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ final class EvictionWarningOptions private[sbt] (
}
object EvictionWarningOptions {
def empty: EvictionWarningOptions =
new EvictionWarningOptions(Vector(), false, false, false, false, defaultGuess)
def default: EvictionWarningOptions =
new EvictionWarningOptions(Vector(Compile), true, true, false, false, defaultGuess)
def full: EvictionWarningOptions =