Adapt device change to new springcli.properties
This commit is contained in:
parent
5cdaa43912
commit
ef17ff8d24
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue