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

Gradle 7.4.2发布

Gradle 7.4.2发布

The Gradle team is excited to announce Gradle 7.4.2.

This is the second patch release for Gradle 7.4.

It fixes the following issues:

  • #20272 Tasks that show up later on the command line can be mysteriously skipped
  • #20195 A task that is finalized by a task specified earlier on the command line causes the build to hang
  • #20269 Deadlock between test task execution and dependency resolution
  • #18587 Race condition with build service registration and configuration on demand
  • #20203 Using a Version Catalog plugin in the plugins block still produces an @Incubating warning in 7.4.1
  • #20246 NPE when VerificationException is thrown by a task and configuration cache is enabled

Issues fixed in the first patch release:

  • #14536 Applying Build Scan Plugin (–scan) cause the following error ‘Cannot mutate content repository descriptor ‘Gradle Central Plugin Repository’ after repository has been used’
  • #19710 Configuration cache captures system property value set by the build logic causing no cache hits afterward
  • #19837 Dependency resolution hangs with IDEA parallel model fetch
  • #19852 plugins resolution from settings convention plugin [possible regression]
  • #19853 Type-safe dependency accessors are reported as an incubating feature despite version catalog stabilization
  • #19868 CLI options fail with “linked to multiple elements in class” error when inherited from interface and defined in class
  • #19955 test-aggregation-plugin and jacoco-aggregation-plugin should eagerly configure objects
  • #19990 7.4 regression: exclusiveContent in buildscript doesn’t work with plugins {} block
  • #20001 Failure with configuration cache: Could not find build ‘buildSrc’

This release also documents a security advisory that was fixed in Gradle 7.4 already.

We recommend users upgrade to 7.4.2 instead of 7.4.


This release makes it easier to create a single test report or JaCoCo code coverage report across several projects. This release also includes several usability improvements, such as marking additional test source directories as tests in IDEA and better support for plugin version declarations in subprojects.

Java toolchain support has been updated to reflect the migration of AdoptOpenJDK to Adoptium.

There are changes to make adopting the experimental configuration cache easier, along with several bug fixes and other changes.

The build services and version catalogs features have been promoted to stable.

We would like to thank the following community members for their contributions to this release of Gradle:

Michael BaileyJochen SchalandaJendrik JohannesRoberto Perez AlcoleaKonstantin GribovPer LundbergPiyush MorRóbert PappPiyush MorNed TwiggNikolas GrottendieckLars GreferPatrick PichlerMarcin MielnickiMarcono1234Dima MerkurevMatthew Haughton,

更多 Gradle 7.4.2 Release Notes