gradle/gradle
This is a patch release for 7.5. We recommend using 7.5.1 instead of 7.5
Read the Release Notes
We would like to thank the following community members for their contributions to this release of Gradle:
Michael Bailey,
Josh Kasten,
Marcono1234,
mataha,
Lieven Vaneeckhaute,
kiwi-oss,
Stefan Neuhaus,
George Thomas,
Anja Papatola,
Björn Kautler,
David Burström,
Vladimir Sitnikov,
Roland Weisleder,
Konstantin Gribov,
David Op de Beeck,
aSemy,
Rene Groeschke,
Jonathan Leitschuh,
Aurimas Liutikas,
Jamie Tanna,
Xin Wang,
Atsuto Yamashita,
Taeik Lim,
Peter Gafert,
Alex Landau,
Jerry Wiltse,
Tyler Burke,
Matthew Haughton,
Filip Daca,
Simão Gomes Viana,
Vaidotas Valuckas,
Edgars Jasmans,
Tomasz Godzik,
Jeff,
Lajos Veres
Upgrade instructions
Switch your build to use Gradle 7.5.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.5.1
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.4.
See the list of fixed issues: https://docs.gradle.org/7.4.2/release-notes.html
We recommend users upgrade to 7.4.2 instead of 7.4 or another patch release.
Upgrade Instructions
Switch your build to use Gradle 7.4.2 by updating your wrapper:
./gradlew wrapper --gradle-version=7.4.2
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.4.
See the list of fixed issues: https://docs.gradle.org/7.4.1/release-notes.html
We recommend users upgrade to 7.4.1 instead of 7.4.
Upgrade Instructions
Switch your build to use Gradle 7.4.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.4.1
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.3.
It fixes the following issues:
- #19360 Upgrade checks to Log4j 2.17.0
We recommend users upgrade to 7.3.3 instead of 7.3.
Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.
Upgrade Instructions
Switch your build to use Gradle 7.3.3 by updating your wrapper:
./gradlew wrapper --gradle-version=7.3.3
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.3.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.3.
It fixes the following issues:
- #19300 Mitigations for log4j vulnerability in Gradle builds
- #19257 Incremental java compilation fails when renaming classname with $ character
We recommend users upgrade to 7.3.2 instead of 7.3.
Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.
Upgrade Instructions
Switch your build to use Gradle 7.3.2 by updating your wrapper:
./gradlew wrapper --gradle-version=7.3.2
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.3.
It fixes the following issues:
- #19058 Consider reverting breaking change about test configuration
- #19067 Fix multiple annotation processing issues discovered by Micronaut
We recommend users upgrade to 7.3.1 instead of 7.3.
Upgrade Instructions
Switch your build to use Gradle 7.3.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.3.1
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.1.
It fixes the following issues:
- #17488 Many Micronaut builds failing with NPE with Gradle 7.1 & JDK 8
- #17548 [Configuration cache] Task not up-to-date for SantaTracker
- #17542 [Configuration cache] Filtered FC with mapped elements stored incorrectly
We recommend users upgrade to 7.1.1 instead of 7.1.
Upgrade Instructions
Switch your build to use Gradle 7.1.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.1.1
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.1.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.0.
This fixes an issue with files system watching on certain Linux distributions.
We recommend users upgrade to 7.0.2 instead of 7.0.
Upgrade Instructions
Switch your build to use Gradle 7.0.2 by updating your wrapper:
./gradlew wrapper --gradle-version=7.0.2
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.0.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 7.0.
This fixes several issues reported against 7.0.
We recommend users upgrade to 7.0.1 instead of 7.0.
Upgrade Instructions
Switch your build to use Gradle 7.0.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.0.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.0.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.x to Gradle 6.x.
It fixes the following issues:
- #19523 Fix buffer overflow error in KryoBackedDecoder [Backport 6.x]
- #20189 Support constraints without version in GMM [Backport 6.9.x]
- #22358 Missing exclude rule merging optimizations
We recommend users upgrade to 6.9.3 instead of 6.9.
Upgrade Instructions
Switch your build to use Gradle 6.9.3 by updating your wrapper:
./gradlew wrapper --gradle-version=6.9.3
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.3.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.2 to Gradle 6.x.
It fixes the following issues:
- #18163 Fix excludes for substituted dependencies
- #18164 POSIX shell scripts improvements
- #18697 Fix corrupted resolution result from replacement / capability conflict
- #19328 Mitigations for log4j vulnerability in Gradle builds
- #19372 Multiple transformed artifacts selected
We recommend users upgrade to 6.9.2 instead of 6.9.
Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.
Upgrade Instructions
Switch your build to use Gradle 6.9.2 by updating your wrapper:
./gradlew wrapper --gradle-version=6.9.2
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.9, containing backported bugfixes in Gradle 7.2 to Gradle 6.x.
It fixes the following issues:
- #18089 Deprecate jcenter() repository
- #17950 Renaming and recreating the project directory causes Gradle to lose track of changes on Windows
- #17949 Gradle's up-to-date checks do not work on Windows FAT drives
We recommend users upgrade to 6.9.1 instead of 6.9.
Upgrade Instructions
Switch your build to use Gradle 6.9.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.9.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.9.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.8.
This fixes a critical bug present in Gradle 6.8, 6.8.1 and 6.8.2.
All issues fixed in this patch release
Please don’t use the original 6.8 release or previous patch releases, and instead upgrade to 6.8.3.
Upgrade Instructions
Switch your build to use Gradle 6.8.3 by updating your wrapper:
./gradlew wrapper --gradle-version=6.8.3 --gradle-distribution-sha256-sum 7faa7198769f872826c8ef4f1450f839ec27f0b4d5d1e51bade63667cbccd205
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.3.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.8.
This fixes several bugs in Gradle 6.8.1.
All issues fixed in this patch release
Please don’t use the original 6.8 release or the 6.8.1, and instead upgrade to 6.8.2.
Upgrade Instructions
Switch your build to use Gradle 6.8.2 by updating your wrapper:
./gradlew wrapper --gradle-version=6.8.2
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.8.
This fixes several critical bugs in Gradle 6.8.
All issues fixed in this patch release
We recommend that you use Gradle 6.8.1 over the initial release of Gradle 6.8.
Upgrade Instructions
Switch your build to use Gradle 6.8.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.8.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.8.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.7.
This fixes several critical bugs in Gradle 6.7.
All issues fixed in this patch release
We recommend that you use Gradle 6.7.1 over the initial release of Gradle 6.7.
Upgrade Instructions
Switch your build to use Gradle 6.7.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.7.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.7.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.6.
This fixes several critical bugs in Gradle 6.6.
All issues fixed in this patch release
We recommend that you use Gradle 6.6.1 over the initial release of Gradle 6.6.
Upgrade Instructions
Switch your build to use Gradle 6.6.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.6.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.6.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.5.
This fixes several critical bugs in Gradle 6.5:
- Regression: Gradle 6.5 cached builds cause IllegalStateException #13367
- Regression: Compile classpath configuration is not deterministic #13555
- Regression: Class cast exception when GStrings are used with System.getProperty #13569
- And a number of dependency graph resolution errors (#13251, #13316, #13329, #13551)
All issues fixed in this patch release
We recommend that you use Gradle 6.5.1 over the initial release of Gradle 6.5.
Upgrade Instructions
Switch your build to use Gradle 6.5.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.5.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.5.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.4.
This fixes several critical bugs in Gradle 6.4:
- Regression: Different daemons are used between IDE and CLI builds for the same project #13069
- Regression: Main-Class attribute always added to jar manifest when using application plugin #13057
All issues fixed in this patch release
We recommend that you use Gradle 6.4.1 over the initial release of Gradle 6.4.
Upgrade Instructions
Switch your build to use Gradle 6.4.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.4.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.4.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.2.
This fixes a critical bug in Gradle 6.2:
- Multi-project build use the properties of the rootProject for all included builds. #12381
All issues fixed
We recommend that you use Gradle 6.2.2 over the initial release of Gradle 6.2.
Read the full release notes
Upgrade Instructions
Switch your build to use Gradle 6.2.2 by updating your wrapper:
./gradlew wrapper --gradle-version=6.2.2
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.2.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.2.
This fixes several critical bugs in Gradle 6.2:
- Project name disambiguation causes project / external dependency conflicts to be missed. #12315
- IdeaModelBuilder does not provide groovy-all as compile dep for buildSrc #12274
- Gradle crashes if GRADLE_RO_DEP_CACHE is set and it cannot create modules-2 directory within it #12293
All issues fixed
We recommend that you use Gradle 6.2.1 over the initial release of Gradle 6.2.
Read the full release notes
Upgrade Instructions
Switch your build to use Gradle 6.2.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.2.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.2.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.1.
This fixes several critical bugs in Gradle 6.1:
- Plugins using kotlin-dsl and compiled with 6.1 are incompatible with Gradle 6.0 #11947
- Missing fixed issues from Gradle 6.1 release notes #11954
- Memory regression when resolving large artifacts while computing checksums #11966
- Gradle 6.1 generates an empty .gradle and gradle directories on each execution in subproject directories #11971
All issues fixed
We recommend that you use Gradle 6.1.1 over the initial release of Gradle 6.1.
Read the full release notes
Upgrade Instructions
Switch your build to use Gradle 6.1.1 by updating your wrapper:
./gradlew wrapper --gradle-version=6.1.1
See the Gradle 6.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.1.x.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
This is a patch release for Gradle 6.0.
This fixes several critical bugs in Gradle 6.0:
- Incremental Java compilation is broken with Android 3.5.1 and Gradle 6.0 #11330
- Unable to use a Provider as an artifact for the maven-publish plugin #11054
- Implicit capabilities not always applied/detected #11300
- maven-metadata.xml SHA256 and SHA512 checksums prevent publishing to Nexus #11308
- Unable to properly resolve dynamic dependencies from mavenLocal() repo #11321
- Kotlin DSL:
fileTree(mapOf(...))
has unexpected behavior #11335
- Attribute disambiguation rule for 'org.gradle.category' can cause unexpected type exception #11365
All issues fixed
We recommend that you use Gradle 6.0.1 over the initial release of Gradle 6.0.
Upgrade Instructions
Switch your build to use Gradle 6.0.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=6.0.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains all changes from 5.6.1 through 5.6.3 as well as:
- Can't configure kotlinOptions after upgrade to gradle 5.6.3 using kotlin-dsl #11083
- Slow localhost look-up on macOS #11134
We recommend that you use Gradle 5.6.4 over any other 5.6.x release.
Upgrade Instructions
Switch your build to use Gradle 5.6.4 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.6.4
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains all changes from 5.6.1 and 5.6.2 as well as:
- Let Kotlin DSL gracefully handle lambdas registered as extensions (5.6.3) #11014
- Gradle Module Metadata compatibility for unique snapshots #11050
- maven-publish publishes jars with wrong extension for known jar packagings like 'ejb' in 5.6 #10555
- Regression in 5.5 when using dependency constraints for non-jar dependencies without a POM #10948
- resolution failure when dependency locks and kotlin-dsl plugin are present #10697
- Non-Kotlin extensions crash the build when using Kotlin DSL + Kotlin plugins #10729
- Sporadic build failures with build-scan due to an overlapping ID assignment https://github.com/gradle/gradle/pull/10286
- Prevent StackOverflowException caused by excessive 'or' via PatternMatcher #10330
We recommend that you use Gradle 5.6.3 over any other 5.6.x release.
Upgrade Instructions
Switch your build to use Gradle 5.6.3 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.6.3
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains changes to Gradle 5.6.1:
- Duplicate entry in generated .classpath file in Gradle >= 5.6 (#10393)
- Memory leak when using tasks that use Worker API and process isolation (#10411)
We recommend that you use Gradle 5.6.2 over 5.6.1.
Upgrade Instructions
Switch your build to use Gradle 5.6.2 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.6.2
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains changes to Gradle 5.6:
We recommend that you use Gradle 5.6.1 over 5.6.
Upgrade Instructions
Switch your build to use Gradle 5.6.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.6.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains three changes to Gradle 5.5:
- Combination of errorprone-gradle-plugin and options.fork = true causes Java compilation to fail in Gradle 5.5 #9897
- Using dependency declaration
gradleKotlinDsl()
fails with 5.5 #9919
- Chain of transitives aligned by same platform can lead to broken resolution #9882
We recommend that you use Gradle 5.5.1 over 5.5.
Upgrade Instructions
Switch your build to use Gradle 5.5.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.5.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains two changes to Gradle 5.4:
We recommend that you use Gradle 5.4.1 over 5.4.
Upgrade Instructions
Switch your build to use Gradle 5.4.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.4.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains several changes to Gradle 5.3, notably:
We recommend that you use Gradle 5.3.1 over 5.3.
Upgrade Instructions
Switch your build to use Gradle 5.3.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.3.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
This bug-fix release contains several changes to Gradle 5.2, notably:
We recommend that you use Gradle 5.2.1 over 5.2.
Upgrade Instructions
Switch your build to use Gradle 5.2.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.2.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.