Graal native image uses ahead-of-time compilation to build an optimized executable.
sdk install java 22-graal
sdk use java 22-graal
export JAVA_HOME=${SDKMAN_DIR}/candidates/java/current
./gradlew run -Pagent
./gradlew metadataCopy --task run --dir src/main/resources/META-INF/native-image
./gradlew nativeRun
./build/native/nativeCompile/graal-native
./gradlew nativeTest