build-native-image-mav…
Build GraalVM native images using the native-maven-plugin (org.graalvm.buildtools). Use this…
Build GraalVM native images using Gradle Native Build Tools. Use this skill to build Java applications with Gradle, configure native-image build.gradle settings, or resolve build or runtime issues.
$ npx -y skills add oracle/graal --skill build-native-image-gradle --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/build-native-image-gradleContext preview
The summary Claude sees to decide when to auto-load this skill.
Build GraalVM native images using Gradle Native Build Tools. Use this skill to build Java applications with Gradle, configure native-image build.gradle settings, or resolve build or runtime issues.
name: build-native-image-gradle description: Build GraalVM native images using Gradle Native Build Tools. Use this skill to build Java applications with Gradle, configure native-image build.gradle settings, or resolve build or runtime issues.
Groovy DSL:
plugins {
id 'application'
id 'org.graalvm.buildtools.native' version '0.11.1'
}Kotlin DSL:
plugins {
application
id("org.graalvm.buildtools.native") version "0.11.1"
}./gradlew nativeCompile # Build to build/native/nativeCompile/ ./gradlew nativeRun # Build and run the native executable ./gradlew nativeTest # Build and run JUnit tests as a native image
If the build fails with class initialization, linking errors, memory issues, or the binary behaves incorrectly at runtime, see [references/native-image-build-gradle-options.md](references/native-image-build-gradle-options.md).
If `nativeTest` fails or you need to configure native JUnit tests or custom test suites, see [references/testing.md](references/testing.md).
If a build or runtime error reports missing reflection, resource, serialization, or JNI registrations, see [references/reachability-metadata.md](references/reachability-metadata.md).
| Topic | File | |-------|------| | DSL options and build arguments | [references/native-image-build-gradle-options.md](references/native-image-build-gradle-options.md) | | Missing reachability metadata | [references/reachability-metadata.md](references/reachability-metadata.md) | | Native testing | [references/testing.md](references/testing.md) |
GraalVM compiles applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
Repo: oracle/graal
Build GraalVM native images using the native-maven-plugin (org.graalvm.buildtools). Use this…
Build and troubleshoot GraalVM Native Image applications. Use this skill to build Java…
Reimport Native Image's vendored libcontainer from a newer JDK while preserving local…