Allow usage without Spring Boot AutoConfiguration

Fixes #166
This commit is contained in:
Eric Bottard
2017-10-04 11:15:01 +02:00
parent f0e5c45ee9
commit 32c65f2da7
3 changed files with 71 additions and 3 deletions

View File

@@ -61,12 +61,12 @@ import org.springframework.shell.Shell;
* @author Florent Biville
*/
@Configuration
class JLineShellAutoConfiguration {
public class JLineShellAutoConfiguration {
@Autowired
private PromptProvider promptProvider;
@Autowired
@Autowired @Lazy
private History history;
@Autowired