Fix compatibility with boot 1.5.3

This commit is contained in:
Spencer Gibb
2017-04-25 15:34:28 -06:00
parent 2fb2a74e22
commit 14b5a9b89a

View File

@@ -172,12 +172,14 @@ public class LauncherCommand extends OptionParsingCommand {
repositoryConfiguration.add(0, new RepositoryConfiguration("local",
new File("repository").toURI(), true));
boolean quiet = true;
if (options.has(debugOption)) {
System.setProperty("groovy.grape.report.downloads", "true");
quiet = false;
}
AetherGrapeEngine grapeEngine = AetherGrapeEngineFactory.create(null,
repositoryConfiguration, resolutionContext);
repositoryConfiguration, resolutionContext, quiet);
HashMap<String, Object> dependency = new HashMap<>();
dependency.put("group", "org.springframework.cloud.launcher");