瀏覽代碼

Merge pull request #2378 from keeganwitt/gradle

gradle: Document Java 21 limitations
yosifkit 2 年之前
父節點
當前提交
a69b707dd2
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      gradle/content.md

+ 4 - 0
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.