Skip to content

Commit 54bdc4b

Browse files
committed
Add a changelog section
1 parent 10a8b51 commit 54bdc4b

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

docs/src/docs/asciidoc/gradle-plugin.adoc

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ image:https://github.com/graalvm/native-image-build-tools/actions/workflows/nati
88

99
The {doctitle} adds support for building and testing native images using the https://gradle.org[Gradle build tool].
1010

11+
For upgrading please take a look at the <<changelog,changes section>>.
12+
1113
== Quickstart
1214

1315
=== Adding the plugin
@@ -324,3 +326,60 @@ The generated configuration files will be found in the `${buildDir}/native/agent
324326
== Javadocs
325327

326328
In addition, you can consult the link:javadocs/native-gradle-plugin/index.html[Javadocs of the plugin].
329+
330+
[[changelog]]
331+
== Changelog
332+
333+
=== Release 0.9.3
334+
335+
In preparation for supporting more images:
336+
337+
- The `nativeBuild` and `nativeTest` extensions are now deprecated. A top-level container for configuring native images has been introduced. Instead of:
338+
339+
```groovy
340+
nativeBuild {
341+
verbose = true
342+
}
343+
```
344+
345+
you need to use:
346+
347+
```groovy
348+
javaNative {
349+
images {
350+
main {
351+
verbose = true
352+
}
353+
}
354+
}
355+
```
356+
357+
and instead of:
358+
359+
```groovy
360+
nativeTest {
361+
buildArgs("...")
362+
}
363+
```
364+
365+
you need to use:
366+
367+
```groovy
368+
javaNative {
369+
images {
370+
test {
371+
verbose = true
372+
}
373+
}
374+
}
375+
```
376+
377+
- The `nativeBuild` task has been renamed to `nativeAssemble`.
378+
- The `nativeTestBuild` task has been renamed to `nativeTestAssemble`.
379+
380+
Both `nativeBuild` and `nativeTestBuild` task invocations are still supported but deprecated and will be removed in a future release.
381+
382+
== Release 0.9.2
383+
384+
- Added support for resources detection
385+
- Fixed a number of regressions

0 commit comments

Comments
 (0)