Skip to content

Commit de6e8f8

Browse files
authored
misc: add a section about GraalVM target (#1345)
1 parent 05802a8 commit de6e8f8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,5 @@ Please refer to our [security policy](https://github.com/awslabs/aws-sdk-kotlin/
153153
The SDK supports the following targets:
154154

155155
* [JVM](docs/targets.md#jvm)
156-
* [Android](docs/targets.md#android)
156+
* [Android](docs/targets.md#android)
157+
* [GraalVM](docs/targets.md#graalvm)

docs/targets.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,12 @@ dependencies {
4141
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
4242
}
4343
```
44+
45+
## GraalVM
46+
47+
The AWS SDK for Kotlin supports [native image compilation using GraalVM](https://www.graalvm.org/latest/reference-manual/native-image/).
48+
49+
Compiling native images is easily accomplished by applying [the GraalVM build plugin](https://github.com/graalvm/native-build-tools) to your application and running `./gradlew nativeCompile`.
50+
View [their getting started guide](https://graalvm.github.io/native-build-tools/latest/gradle-plugin-quickstart.html) for further details.
51+
52+
NOTE: [log4j2 does not currently support](https://github.com/apache/logging-log4j2/issues/1539) GraalVM native image compilation, so we recommend selecting a different logger implementation such as Logback.

0 commit comments

Comments
 (0)