Change to boot 2.x
- disable PropertyPlaceholderAutoConfiguration in NoAutoConf - Remove shell1 deps - Update README
This commit is contained in:
@@ -17,14 +17,12 @@
|
||||
package org.springframework.shell.samples.noautoconf;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.shell.SpringShellAutoConfiguration;
|
||||
import org.springframework.shell.jcommander.JCommanderParameterResolverAutoConfiguration;
|
||||
import org.springframework.shell.jline.JLineShellAutoConfiguration;
|
||||
import org.springframework.shell.legacy.LegacyAdapterAutoConfiguration;
|
||||
import org.springframework.shell.samples.jcommander.JCommanderCommands;
|
||||
import org.springframework.shell.samples.legacy.LegacyCommands;
|
||||
import org.springframework.shell.samples.standard.Commands;
|
||||
@@ -46,12 +44,11 @@ import org.springframework.shell.standard.commands.StandardCommandsAutoConfigura
|
||||
JLineShellAutoConfiguration.class,
|
||||
// Various Resolvers
|
||||
JCommanderParameterResolverAutoConfiguration.class,
|
||||
LegacyAdapterAutoConfiguration.class,
|
||||
StandardAPIAutoConfiguration.class,
|
||||
// Built-In Commands
|
||||
StandardCommandsAutoConfiguration.class,
|
||||
// Allows ${} support
|
||||
PropertyPlaceholderAutoConfiguration.class,
|
||||
//PropertyPlaceholderAutoConfiguration.class,
|
||||
// Sample Commands
|
||||
JCommanderCommands.class,
|
||||
LegacyCommands.class,
|
||||
|
||||
Reference in New Issue
Block a user