You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The {doctitle} adds support for building and testing native images using the https://gradle.org[Gradle build tool].
10
10
11
+
For upgrading please take a look at the <<changelog,changes section>>.
12
+
11
13
== Quickstart
12
14
13
15
=== Adding the plugin
@@ -324,3 +326,60 @@ The generated configuration files will be found in the `${buildDir}/native/agent
324
326
== Javadocs
325
327
326
328
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.
0 commit comments