Skip to content

Commit 07567cb

Browse files
authored
doc: added the description of reflection config for object stores to README (#19)
1 parent a1c475c commit 07567cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,16 @@ And the help text can be generated as follows:
363363
## Native build
364364

365365
This library supports native build with GraalVM.
366+
However, since it utilizes reflection for the option store object passed to `CliArgs#parseFor`, the reflection configurations for the class of this object need to be specified in `reflect-config.json`. The configuration are as follows:
367+
368+
```
369+
[
370+
{
371+
"name":"pkg.path.to.OptionStore",
372+
"allDeclaredFields":true
373+
}
374+
]
375+
```
366376

367377
See the following pages to setup native build environment on Linux/macOS or Windows.
368378
- [Setup native build environment on Linux/macOS](https://www.graalvm.org/latest/reference-manual/native-image/)

0 commit comments

Comments
 (0)