Suppress "resolving dependencies" when --quiet

Update Spring CLI so that the "resolving dependencies" message is
suppressed when `run --quiet` is used.

Fixes gh-8946
This commit is contained in:
Phillip Webb
2017-04-19 22:13:28 -07:00
parent cde5793240
commit bddc190848
8 changed files with 34 additions and 16 deletions

View File

@@ -81,6 +81,11 @@ public class GroovyGrabDependencyResolverTests {
return new String[] { "." };
}
@Override
public boolean isQuiet() {
return false;
}
};
this.resolver = new GroovyGrabDependencyResolver(configuration);
}

View File

@@ -59,7 +59,7 @@ public class AetherGrapeEngineTests {
dependencyResolutionContext.addDependencyManagement(
new SpringBootDependenciesDependencyManagement());
return AetherGrapeEngineFactory.create(this.groovyClassLoader,
repositoryConfigurations, dependencyResolutionContext);
repositoryConfigurations, dependencyResolutionContext, false);
}
@Test