From 3241533b37697ed9f4b4376fed36f082263c3abd Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Mon, 9 Nov 2020 16:47:44 +0900 Subject: [PATCH] [#1191] DOC put version details in a NOTE callout --- docs/index.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/index.adoc b/docs/index.adoc index 632c54c2..4ea3fee8 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -11386,9 +11386,13 @@ class MyApp implements Runnable { ---- ==== Groovy Scripts + +[NOTE] +==== Picocli 2.0 introduced special support for Groovy scripts. From picocli 4.0 this was moved into a separate module, `picocli-groovy`. In picocli 4.6, `@PicocliScript` was deprecated in favor of `@PicocliScript2`. +==== Scripts annotated with `@picocli.groovy.PicocliScript2` are automatically transformed to use `picocli.groovy.PicocliBaseScript2` as their base class and can also use the `@Command` annotation to