diff --git a/README.md b/README.md
index d4f88cd6..4fae6531 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ The user manual has an [example](https://picocli.info/#_guice_example) of integr
### Releases
* [All Releases](https://github.com/remkop/picocli/releases)
-* Latest: 4.1.4 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.1.4)
+* Latest: 4.2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.2.0)
* Older: Picocli 4.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0)
* Older: Picocli 3.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v3.0.0)
* Older: Picocli 2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v2.0.0)
@@ -187,9 +187,9 @@ If you like picocli, there are a few things you can do to help:
* Upvote my [StackOverflow answer](https://stackoverflow.com/a/43780433/1446916) to "How do I parse command line arguments in Java?"
* Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives?
-If you like picocli and your project is on GitHub, consider adding this badge to your README.md: [](https://github.com/remkop/picocli)
+If you like picocli and your project is on GitHub, consider adding this badge to your README.md: [](https://github.com/remkop/picocli)
```
-[](https://github.com/remkop/picocli)
+[](https://github.com/remkop/picocli)
```
@@ -277,35 +277,35 @@ See the [source code](https://github.com/remkop/picocli/blob/master/src/main/jav
### Gradle
```
-compile 'info.picocli:picocli:4.1.4'
+compile 'info.picocli:picocli:4.2.0'
```
### Maven
```
info.picocli
picocli
- 4.1.4
+ 4.2.0
```
### Scala SBT
```
-libraryDependencies += "info.picocli" % "picocli" % "4.1.4"
+libraryDependencies += "info.picocli" % "picocli" % "4.2.0"
```
### Ivy
```
-
+
```
### Grape
```groovy
@Grapes(
- @Grab(group='info.picocli', module='picocli', version='4.1.4')
+ @Grab(group='info.picocli', module='picocli', version='4.2.0')
)
```
### Leiningen
```
-[info.picocli/picocli "4.1.4"]
+[info.picocli/picocli "4.2.0"]
```
### Buildr
```
-'info.picocli:picocli:jar:4.1.4'
+'info.picocli:picocli:jar:4.2.0'
```
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 6a6116e0..9ba750f2 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -1,6 +1,6 @@
# picocli Release Notes
-# Picocli 4.2.0 (UNRELEASED)
+# Picocli 4.2.0
The picocli community is pleased to announce picocli 4.2.0.
This release adds support for Repeatable Subcommands: when a command is marked as `@Command(subcommandsRepeatable = true)` it becomes possible to specify that command's subcommands multiple times on the command line.
diff --git a/build.gradle b/build.gradle
index 3dc42569..c2dd0bd9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -276,10 +276,11 @@ task bumpReadmeVersion {
}
task bumpVersion {
doLast {
- ant.replaceregexp(match: "\"$projectPreviousVersionRegex\"", replace: "\"$version\"", flags: 'g', byline: true, encoding: 'UTF8') {
+ ant.replaceregexp(match: "$projectPreviousVersionRegex", replace: "$version", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'src/main/java/picocli', includes: 'CommandLine.java')
fileset(dir: 'src/test/java/picocli', includes: 'CommandLineTest.java')
fileset(dir: 'src/main/java/picocli', includes: 'AutoComplete.java')
+ fileset(dir: 'src/test/java/picocli', includes: 'AutoCompleteTest.java')
fileset(dir: 'picocli-codegen/src/main/java/picocli/codegen/aot/graalvm', includes: 'DynamicProxyConfigGenerator.java')
fileset(dir: 'picocli-codegen/src/main/java/picocli/codegen/aot/graalvm', includes: 'JniConfigGenerator.java')
fileset(dir: 'picocli-codegen/src/main/java/picocli/codegen/aot/graalvm', includes: 'ReflectionConfigGenerator.java')
@@ -304,6 +305,10 @@ task bumpVersion {
ant.replaceregexp(match: ":picocli-groovy:$projectPreviousVersionRegex", replace: ":picocli-groovy:$version", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
}
+ // Spring Boot section
+ ant.replaceregexp(match: ":picocli-spring-boot-starter:$projectPreviousVersionRegex", replace: ":picocli-spring-boot-starter:$version", flags: 'g', byline: true, encoding: 'UTF8') {
+ fileset(dir: 'docs', includes: 'index.adoc')
+ }
// Downloads section, Gradle
ant.replaceregexp(match: ":picocli:$projectPreviousVersionRegex", replace: ":picocli:$version", flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'docs', includes: 'index.adoc')
diff --git a/docs/A-Whirlwind-Tour-of-Picocli.html b/docs/A-Whirlwind-Tour-of-Picocli.html
index eb4f8dc9..ae32115f 100644
--- a/docs/A-Whirlwind-Tour-of-Picocli.html
+++ b/docs/A-Whirlwind-Tour-of-Picocli.html
@@ -528,7 +528,7 @@ table.CodeRay td.code>pre{padding:0}
A Whirlwind Tour of Picocli
Remko Popma
-version 4.1.4
+version 4.2.0
@@ -1966,7 +1966,7 @@ sys 0m0.002s
diff --git a/docs/announcing-picocli-1.0.html b/docs/announcing-picocli-1.0.html
index bc2dc7ba..5eeb7ecb 100644
--- a/docs/announcing-picocli-1.0.html
+++ b/docs/announcing-picocli-1.0.html
@@ -528,7 +528,7 @@ table.CodeRay td.code>pre{padding:0}
Announcing picocli 1.0 - a mighty tiny command line interface
Remko Popma
-version 4.1.4,
+version 4.2.0,
2017-09-10
@@ -652,7 +652,7 @@ CommandLine.usage(new AnsiDescription(),
diff --git a/docs/apidocs/allclasses-frame.html b/docs/apidocs/allclasses-frame.html
index 1baef8fa..46350b02 100644
--- a/docs/apidocs/allclasses-frame.html
+++ b/docs/apidocs/allclasses-frame.html
@@ -2,9 +2,9 @@
-
-All Classes (picocli 4.1.4 API)
-
+
+All Classes (picocli 4.2.0 API)
+
diff --git a/docs/apidocs/allclasses-noframe.html b/docs/apidocs/allclasses-noframe.html
index 5fcfce8a..9046fb25 100644
--- a/docs/apidocs/allclasses-noframe.html
+++ b/docs/apidocs/allclasses-noframe.html
@@ -2,9 +2,9 @@
-
-All Classes (picocli 4.1.4 API)
-
+
+All Classes (picocli 4.2.0 API)
+
diff --git a/docs/apidocs/constant-values.html b/docs/apidocs/constant-values.html
index a8321feb..f460c3a6 100644
--- a/docs/apidocs/constant-values.html
+++ b/docs/apidocs/constant-values.html
@@ -2,9 +2,9 @@
-
-Constant Field Values (picocli 4.1.4 API)
-
+
+Constant Field Values (picocli 4.2.0 API)
+
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,14 +12,14 @@
@@ -12,13 +12,13 @@
@@ -12,13 +12,13 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,13 +12,13 @@
@@ -12,7 +12,7 @@
@@ -12,13 +12,13 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,13 +12,13 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,13 +12,13 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,13 +12,13 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,13 +12,13 @@
diff --git a/docs/apidocs/picocli/package-summary.html b/docs/apidocs/picocli/package-summary.html
index bc1a25b1..f766e685 100644
--- a/docs/apidocs/picocli/package-summary.html
+++ b/docs/apidocs/picocli/package-summary.html
@@ -2,9 +2,9 @@
-
-picocli (picocli 4.1.4 API)
-
+
+picocli (picocli 4.2.0 API)
+
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@
@@ -12,7 +12,7 @@