3 ms·
GraalVM also has an agent for Gradle and Maven which can do this.
by sgammon 2y ago
GraalVM also has an agent for Gradle and Maven which can do this.
- pjmlp 2y agoIndeed.
- doikor 2y agoIt is just a normal java agent and works with any jvm app. As in "java -agentlib:... -jar app.jar" But you do need to start/run your app once to get the agent to do its stuff. https://www.graalvm.org/latest/reference-manual/native-image/metadata/AutomaticMetadataCollection/ https://www.graalvm.org/latest/reference-manual/native-image... (it is part of the graalvm so use that as your jvm to do this)