Use collectReachabilityMetadata task to add metadata to bootJar

Closes gh-32737
This commit is contained in:
Andy Wilkinson
2022-10-18 11:24:44 +01:00
parent b986a9b12e
commit 2c756ea874
2 changed files with 5 additions and 35 deletions

View File

@@ -78,5 +78,6 @@ When the {nbt-gradle-plugin}[GraalVM Native Image plugin] is applied to a projec
. Adds the output of the `aot` source set to the classpath of the `main` GraalVM native binary.
. Adds the output of the `aotTest` source set to the classpath of the `test` GraalVM native binary.
. Configures the GraalVM extension to disable Toolchain detection.
. Configures the `bootJar` task to include the reachability metadata produced by the `collectReachabilityMetadata` task in its jar.