graphql-kotlin-graalvm-metadata-generator
is used to generate GraalVM reachability metadata
for graphql-kotlin
servers. This metadata can then be used by GraalVM native Gradle
and Maven plugins to generate native images.
This module is not intended to be consumed directly. Instead, you should rely on the functionality provided by the build plugins.
When generating GraalVM native images, we need to provide information about all dynamic features (e.g. reflections) features
that we will be relying on. This module automatically generates following metadata files that should be placed under
META-INF/native-image/<groupId>/<artifactId>
directory:
native-image.properties
- additional arguments passed to the native image generation processreflect-config.json
- all reflection information used by the schema generator processresource-config.json
- list of resource files and bundles that should be included in the native image