Closed
Description
When I include these dependencies:
dependencies {
compile("org.springframework.boot:spring-boot:1+")
compile("org.yaml:snakeyaml:1+")
}
And I have this config file:
example:
someValue: foobar
Then I should be able to do this:
class Foo {
@Value("${example.someValue}")
String someValue;
}
@Autowired
public void example(Foo foo) {
foo.someValue # should equal 'foobar'
}
Metadata
Metadata
Assignees
Labels
No labels