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:
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.
This bug-fix release contains several changes to Gradle 5.1, notably:
We recommend that you use Gradle 5.1.1 over 5.1.
Upgrade Instructions
Switch your build to use Gradle 5.1.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.1.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 3 changes to Gradle 4.10.2:
It also incorporates all fixes to 4.10.1 and 4.10.2.
We recommend that you use Gradle 4.10.3 over 4.10, 4.10.1 and 4.10.2.
Upgrade Instructions
Switch your build to use Gradle 4.10.3 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.10.3
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.10.3, 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.