gradle/gradle
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.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.
This bug-fix release contains 3 changes to Gradle 4.10.1:
- Dependent module Scala compilation in test context fails for 4.10.1 #6735
- Gradle fails to resolve project dependencies against Scala projects #6750
- Candidate set provided to
AttributeDisambiguationRule
contains null entry #6747
We recommend that you use Gradle 4.10.2 over 4.10.1 or 4.10.
Upgrade Instructions
Switch your build to use Gradle 4.10.2 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.10.2
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.10.2, 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 addresses 6 regressions in Gradle 4.10:
- #6656: FileTreeElement.getPath() returns absolute system dependent filepath.
- #6592: Up-to-date checks for missing files can be incorrect
- #6612: Gradle fails when no incremental compile snapshot data available.
- #6582: Gradle 4.10 incorrect ordering between dependencies of dependent tasks.
- #6558:
tasks.withType(ScalaCompile::class.java).configureEach
fails on multi-project builds.
- #6653: Double deprecation message when using publishing plugin.
In addition, the Gradle Kotlin DSL has been updated to 1.0 RC6, see the release notes for the list of included fixes.
Upgrade Instructions
Switch your build to use Gradle 4.10.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.10.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.10.1, 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 addresses 6 regressions in Gradle 4.8:
- #5740: Maven Central dropped support for older TLS implementations. This makes the dependency resolution fail if the Gradle build runs on JDK 7.
- #5701: Gradle 4.8 broke compatibility with the
artifactory
and bintray
publishing plugins.
- #5708: Gradle 4.8 sometimes fails with
ConcurrentModificationException
when project.tasks.withType()
is used.
- #5729: The dependency resolution engine sometimes fails with "Unexpected parent dependency" message, which became more apparent in Gradle 4.8.
- #5722: Gradle 4.8 broke the ability of the
SourceSet
to override the compile tasks' destination directory.
- #5692: Gradle 4.8 doesn't consider versions equal when using
dependencySubstitution
and failOnVersionConflict
.
Upgrade Instructions
Switch your build to use Gradle 4.8.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.8.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.8.1, 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 addresses 3 regressions in Gradle 4.5.
Changes in dependency management caused a regression in 4.5 where in some rare cases a dependency could be imported into a different scope than the one declared.
Starting in 4.5, the build cache configuration is shared between builds part of a composite build. NullPointerException
could be observed if the parent build finished before the different composites. This lifecycle issue has now been resolved.
A regression in Eclipse project generation caused a sub-project to be added as a dependency to itself, resulting in an error when opening the project in Eclipse.
For the full list of fixed issues, see the 4.5.1 GitHub milestone.
Upgrade Instructions
Switch your build to use Gradle 4.5.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.5.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.5.1, 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 addresses 3 regressions in Gradle 4.4.
We started shipping JGit 4.5.3.201708160445-r in Gradle 4.4. Some of the non-shaded JGit resources leaked into the gradleApi()
dependency and caused problems in some builds. We now shade all of JGit's resources.
Some builds using Kotlin DSL had problems applying the build-scan plugin in Gradle 4.4. We've updated to kotlin-dsl 0.13.2.
Gradle 4.4 contained changes to internal APIs that broke the popular Nebula dependency lock plugin. This release restores binary compatibility for that plugin. Internal APIs are subject to change, although we try to be mindful of the impact of every change in each Gradle release. If particular internal APIs are useful, please open an issue describing your use case, so we can judge where our public APIs are lacking.
For the full list of fixed issues, see the 4.4.1 GitHub milestone.
Upgrade Instructions
Switch your build to use Gradle 4.4.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.4.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.4.1, 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 addresses 3 regressions in Gradle 4.3.
Gradle 4.3 introduced an change where an error in resolving a module from one repository would prevent Gradle from searching for that same module in subsequent repositories.
However, the change to abort searching repositories on all unrecognized errors proved to be too aggressive. With 4.3.1, only repository timeout errors will prevent Gradle from searching for a module in a subsequent repository.
Moreover, the connection and socket timeouts for HTTP/HTTPS requests have been increased to 30 seconds.
This version of Gradle also removes an overload of TaskInputs.property
which caused statically compiled plugin code to use the wrong method when calling TaskInputs.property(..., null)
.
Finally, when using --scan
the build scan plugin is applied before other plugins to avoid rendering a warning message.
For the full list of fixed issues, see the GitHub milestone.
Upgrade Instructions
Switch your build to use Gradle 4.3.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.3.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.3.1, 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 addresses a regression in 4.2, which caused Android instrumented tests to fail. It also improves Java 9 compatibility and clarifies a few deprecation warnings. We recommend that all Gradle 4.2 users upgrade to 4.2.1
For the full list of fixed issues, see the GitHub milestone.
Upgrade Instructions
Switch your build to use Gradle 4.2.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.2.1
Standalone downloads are available at https://gradle.org/install.
Reporting Problems
If you find a problem with Gradle 4.2.1, 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.