Skip to content

Commit

Permalink
Omit unnecessary version for micronaut-picocli, and add note about op…
Browse files Browse the repository at this point in the history
…tional annotation processor dependency. (#324)

closes #323
  • Loading branch information
wetted authored Jul 31, 2023
1 parent 95e867c commit 4ed1193
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/docs/guide/setup.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
To add support for Picocli to an existing project, you should first add the picocli dependency and the Micronaut picocli configuration to your build configuration.

dependency:info.picocli:picocli[]
dependency:micronaut-picocli[groupId="io.micronaut.picocli"]

dependency:io.micronaut.picocli:micronaut-picocli[version="{version}"]
The `picocli-codegen` module includes an annotation processor that can build a model from the picocli annotations at compile time rather than at runtime. Enabling this annotation processor in your project is optional, but https://picocli.info/#_annotation_processor[recommended].
dependency:picocli-codegen[scope="annotationProcessor", groupId="info.picocli"]
=== Configuring picocli
Expand Down

0 comments on commit 4ed1193

Please sign in to comment.