From 1f3281b02dfcf8b1d902f0221334d38bec1340da Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Fri, 13 Oct 2023 13:01:28 -0400 Subject: [PATCH] Document Java 21 limitations --- gradle/content.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gradle/content.md b/gradle/content.md index 61fd065d2246..14edc0e23c96 100644 --- a/gradle/content.md +++ b/gradle/content.md @@ -15,3 +15,7 @@ Run this from the directory of the Gradle project you want to build. Note the above command runs using uid/gid 1000 (user *gradle*) to avoid running as root. If you are mounting a volume and the uid/gid running Docker is not *1000*, you should run as user *root* (`-u root`). *root* is also the default, so you can also simply not specify a user. + +## Java 21 support + +Java 21 does not currently support build customizations using Kotlin (such as using the `kotlin-dsl` plugin in a buildSrc script). Full support for Java 21 will come in a future Gradle release.