diff --git a/README.md b/README.md
index 730bbfc0e..d44ec3493 100644
--- a/README.md
+++ b/README.md
@@ -79,7 +79,7 @@ The user manual has examples of integrating with [Guice](https://picocli.info/#_
### Releases
* [All Releases](https://github.com/remkop/picocli/releases)
-* Latest: 4.7.1 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.7.1)
+* Latest: 4.7.2 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.7.2)
* 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)
@@ -88,7 +88,7 @@ The user manual has examples of integrating with [Guice](https://picocli.info/#_
* [4.x User manual: https://picocli.info](https://picocli.info)
* [4.x Quick Guide](https://picocli.info/quick-guide.html)
* [4.x API Javadoc](https://picocli.info/apidocs/)
-* [PREVIEW: Modular Javadoc for all artifacts (4.7.1-SNAPSHOT)](https://picocli.info/apidocs-all/)
+* [PREVIEW: Modular Javadoc for all artifacts (4.7.2-SNAPSHOT)](https://picocli.info/apidocs-all/)
* [Command line autocompletion](https://picocli.info/autocomplete.html)
* [Programmatic API](https://picocli.info/picocli-programmatic-api.html)
* [FAQ](https://github.com/remkop/picocli/wiki/FAQ)
@@ -270,9 +270,9 @@ If you like picocli, help others discover picocli:
#### Spread the joy! :tada:
* Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives?
* Mention that your project uses picocli in the documentation of your project.
-* Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.7.1-green.svg)](https://github.com/remkop/picocli)
+* Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.7.2-green.svg)](https://github.com/remkop/picocli)
```
-[![picocli](https://img.shields.io/badge/picocli-4.7.1-green.svg)](https://github.com/remkop/picocli)
+[![picocli](https://img.shields.io/badge/picocli-4.7.2-green.svg)](https://github.com/remkop/picocli)
```
#### Preach it! :muscle:
@@ -363,41 +363,41 @@ See the [source code](https://github.com/remkop/picocli/blob/main/src/main/java/
### Gradle
```
-implementation 'info.picocli:picocli:4.7.1'
+implementation 'info.picocli:picocli:4.7.2'
```
### Maven
```
@Grab('info.picocli:picocli-groovy:4.7.1')
+@Grab('info.picocli:picocli-groovy:4.7.2')
import picocli.CommandLine
import static picocli.CommandLine.*
@@ -2337,7 +2263,7 @@
Groovy script
-@Grab('info.picocli:picocli-groovy:4.7.1')
+@Grab('info.picocli:picocli-groovy:4.7.2')
import static picocli.CommandLine.*
import groovy.transform.Field
import java.security.MessageDigest
@@ -2496,7 +2422,7 @@ Gradle
dependencies {
- implementation 'info.picocli:picocli:4.7.1'
+ implementation 'info.picocli:picocli:4.7.2'
}
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
- <version>4.7.1</version>
+ <version>4.7.2</version>
</dependency>
dependencies {
- implementation 'info.picocli:picocli:4.7.1'
- annotationProcessor 'info.picocli:picocli-codegen:4.7.1'
+ implementation 'info.picocli:picocli:4.7.2'
+ annotationProcessor 'info.picocli:picocli-codegen:4.7.2'
}
@@ -2585,7 +2511,7 @@ Usi
<path>
<groupId>info.picocli</groupId>
<artifactId>picocli-codegen</artifactId>
- <version>4.7.1</version>
+ <version>4.7.2</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
@@ -2610,7 +2536,7 @@ apply plugin: 'kotlin-kapt' // required
dependencies {
// ...
- kapt 'info.picocli:picocli-codegen:4.7.1'
+ kapt 'info.picocli:picocli-codegen:4.7.2'
}
java -cp "picocli-4.7.1.jar:checksum.jar" CheckSum --algorithm SHA-1 hello.txt
+java -cp "picocli-4.7.2.jar:checksum.jar" CheckSum --algorithm SHA-1 hello.txt
java -cp "picocli-4.7.1.jar;myapp.jar" org.myorg.GreetingApp Sarah Lea
+java -cp "picocli-4.7.2.jar;myapp.jar" org.myorg.GreetingApp Sarah Lea
java -cp "picocli-4.7.1.jar;myapp.jar" org.myorg.GreetingApp --locale=es Sarah Lea
+java -cp "picocli-4.7.2.jar;myapp.jar" org.myorg.GreetingApp --locale=es Sarah Lea
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli-spring-boot-starter</artifactId>
- <version>4.7.1</version>
+ <version>4.7.2</version>
</dependency>
dependencies {
- implementation 'info.picocli:picocli-spring-boot-starter:4.7.1'
+ implementation 'info.picocli:picocli-spring-boot-starter:4.7.2'
}
dependencies {
- implementation("info.picocli:picocli-spring-boot-starter:4.7.1")
+ implementation("info.picocli:picocli-spring-boot-starter:4.7.2")
}
java -cp "picocli-4.7.1.jar;myapp.jar" org.myorg.MyMainClass --option=value arg0 arg1
+java -cp "picocli-4.7.2.jar;myapp.jar" org.myorg.MyMainClass --option=value arg0 arg1
alias mycommand='java -cp "/path/to/picocli-4.7.1.jar:/path/to/myapp.jar" org.myorg.MainClass'
+alias mycommand='java -cp "/path/to/picocli-4.7.2.jar:/path/to/myapp.jar" org.myorg.MainClass'
path/to/native-image -cp picocli-4.7.1.jar --static -jar myapp.jar+
path/to/native-image -cp picocli-4.7.2.jar --static -jar myapp.jar
GraalVM includes a Maven plugin -to generate a native image during the build. -Gradle users may be interested in the gradle-graal plugin by Palantir, or the graalvm-native-image plugin by Mike Neck. -(Documentation for both Maven and Gradle plugins seems sparse at time of this writing.)
+GraalVM includes a Maven plugin and a Gradle plugin to generate a native image during the build. Gradle users may be interested in the gradle-graal plugin by Palantir also.
See also this demo Gradle project and this demo Maven project that provide a simple complete CLI app, with build instructions, that developers can clone, and build to get the stand-alone executable.
See also the korandoru/hawkeye for a real-world Maven project that provide a native image and a slim Docker image powered by native image.
+