0.9.5
Release highlights
This release is a major milestone towards 1.0 as it revamps the Gradle DSL and performs some renaming aimed at reducing confusion.
This preparation work is also needed to support more features in the future, in particular multiple test images, and to make it easier for other Gradle plugins to integrate with this plugin.
There are no changes to the Maven plugin in this release.
Full documentation for this version: https://graalvm.github.io/native-build-tools/0.9.5/index.html
Changes in the Gradle plugin DSL are the following:
- The
nativeBuildandnativeTestextensions are now deprecated. A top-level container for configuring native images has been introduced. Instead of:
nativeBuild {
verbose = true
}you need to use:
graalvmNative {
binaries {
main {
verbose = true
}
}
}and instead of:
nativeTest {
buildArgs("...")
}you need to use:
graalvmNative {
binaries {
test {
buildArgs("...")
}
}
}- The
nativeBuildtask has been renamed tonativeCompile. - The
nativeTestBuildtask has been renamed tonativeTestCompile.
Both nativeBuild and nativeTestBuild task invocations are still supported but deprecated and will be removed in a future release.