皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Gradle 7.6发布

Gradle 7.6发布

The Gradle team is excited to announce Gradle 7.6.

This release includes building and running code with Java 19, a flag to rerun tasks individually, a new strongly-typed dependencies block for JVM test suites, and a pluggable system for Java Toolchains provisioning.

As always there are also performance improvements like enhancements to the configuration cache and incremental compilation.

We would like to thank the following community members for their contributions to this release of Gradle: altrisiaSemyAshwin PankajAurimasBJ HargraveBjörn KautlerBradley TurekCraig AndrewsDaniel LinDavid MorrisEdmund MokFrosty-JGabriel FeoIvan GavrilovicJendrik JohannesJohnJoseph WoolfKarl-Michael SchindlerKonstantin GribovLeonardo Brondani SchenkelMartin d’AnjouMichael BaileyPete BentleyRob BaveySam Snydersll552teawithbrownsugarThomas BroadleyurdakVarun SharmaXin Wang

Table Of Contents

Upgrade instructions

Switch your build to use Gradle 7.6 by updating your wrapper:

./gradlew wrapper --gradle-version=7.6

See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.6.

For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.

New features and usability improvements

JVM

Added Support for Java 19

Gradle 7.6 supports compiling, testing and running on Java 19.

Introduced strongly-typed dependencies block for JVM test suites

The JVM test suitedependencies block now uses a strongly-typed API. This makes the build logic cleaner and improves assistance in the IDEs, especially with the Kotlin DSL.

更多 Gradle 7.6 Release Notes