[#752][#658][#658] Spring support

This commit is contained in:
Remko Popma
2019-07-06 20:05:14 +09:00
parent 52c797cb3e
commit bc7f0f0abf
3 changed files with 12 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ Picocli follows [semantic versioning](http://semver.org/).
## <a name="4.0.0-rc-1-fixes"></a> Fixed issues
- [#752][#658][#658] Add Spring Boot AutoConfiguration module and Spring Boot Starter module. Thanks to [Thibaud Lepretre](https://github.com/kakawait) for the pull request.
- [#696][#741] Automatically split lines in TextTable. Thanks to [Sualeh Fatehi](https://github.com/sualeh) for the pull request.
- [#756] API: Make synopsis indent for multi-line synopsis configurable (related to #739).
- [#761] API: Add `ParseResult.matchedArgs()` method to return all matched arguments in order; change `ParseResult.matchedOptions()` and `ParseResult.matchedPositionals()` to return the full list of matched options and positional parameters, including duplicates if the option or positional parameter was matched multiple times. Thanks to [Michael D. Adams](https://github.com/adamsmd) for the feature request.

View File

@@ -3,9 +3,10 @@ plugins {
}
group 'info.picocli'
version '4.0.0-rc-1-SNAPSHOT'
description 'Picocli Spring Boot AutoConfigure - Enables Spring Dependency Injection in Picocli Commands.'
version "$projectVersion"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
@@ -13,7 +14,7 @@ repositories {
dependencies {
compile rootProject
compile (group: 'org.springframework.boot', name: 'spring-boot-starter', version: "$springBootVersion" )
compileOnly("org.springframework.boot:spring-boot-configuration-processor:$springBootVersion")
testCompile group: 'junit', name: 'junit', version: '4.12'
compile "org.springframework.boot:spring-boot-starter:$springBootVersion"
compileOnly "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
testCompile "junit:junit:$junitVersion"
}

View File

@@ -3,7 +3,8 @@ plugins {
}
group 'info.picocli'
version '4.0.0-rc-1-SNAPSHOT'
description 'Picocli Spring Boot Starter - Dependency Descriptor to Easily get Started with Picocli and Spring.'
version "$projectVersion"
sourceCompatibility = 1.8
@@ -12,6 +13,7 @@ repositories {
}
dependencies {
compile (group: 'org.springframework.boot', name: 'spring-boot-starter', version: '2.1.6.RELEASE' )
compileOnly("org.springframework.boot:spring-boot-configuration-processor:2.1.6.RELEASE")
compile "info.picocli:picocli:$projectVersion"
compile "org.springframework.boot:spring-boot-starter:$springBootVersion"
compileOnly "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
}