Gradle从哪个版本开始支持Java17
Starting from which version Gradle supports Java 17
在尝试配置项目时出现错误:
Unsupported Java. Your build is currently configured to use Java 17.0.1 and Gradle 7.0.
很遗憾,目前 official documentation 中没有任何信息。
Gradle 7.3是第一个完全支持Java17的版本。来自Release Notes:
Support for Java 17
Gradle now supports running on and building with Java 17.
In previous Gradle versions, running Gradle itself on Java 17 resulted in an error. JVM projects could have been built with Java 17 using toolchains.
As of Gradle 7.3, both running Gradle itself and building JVM projects with Java 17 is fully supported.
从7.3版本开始Gradle正式支持Java17.更多详情可以查看兼容性矩阵here and details of releases can be seen from here.
在尝试配置项目时出现错误:
Unsupported Java. Your build is currently configured to use Java 17.0.1 and Gradle 7.0.
很遗憾,目前 official documentation 中没有任何信息。
Gradle 7.3是第一个完全支持Java17的版本。来自Release Notes:
Support for Java 17
Gradle now supports running on and building with Java 17.
In previous Gradle versions, running Gradle itself on Java 17 resulted in an error. JVM projects could have been built with Java 17 using toolchains.
As of Gradle 7.3, both running Gradle itself and building JVM projects with Java 17 is fully supported.
从7.3版本开始Gradle正式支持Java17.更多详情可以查看兼容性矩阵here and details of releases can be seen from here.