Commit ef17ff8d authored by Dave Syer's avatar Dave Syer

Adapt device change to new springcli.properties

parent 5cdaa439
......@@ -31,8 +31,9 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
/**
* {@link CompilerAutoConfiguration} for Spring Mobile.
*
*
* @author Roy Clarkson
* @author Dave Syer
*/
public class SpringMobileCompilerAutoConfiguration extends CompilerAutoConfiguration {
......@@ -44,8 +45,7 @@ public class SpringMobileCompilerAutoConfiguration extends CompilerAutoConfigura
@Override
public void applyDependencies(DependencyCustomizer dependencies)
throws CompilationFailedException {
dependencies.add("org.springframework.mobile", "spring-mobile-device",
dependencies.getProperty("spring-mobile.version"));
dependencies.add("spring-mobile-device");
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment