gradle/gradle
### [`v6.1.1`](https://togithub.com/gradle/gradle/releases/v6.1.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v6.1.0...v6.1.1)
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](https://togithub.com/gradle/gradle/issues/11947)
- Missing fixed issues from Gradle 6.1 release notes [#11954](https://togithub.com/gradle/gradle/issues/11954)
- Memory regression when resolving large artifacts while computing checksums [#11966](https://togithub.com/gradle/gradle/issues/11966)
- Gradle 6.1 generates an empty .gradle and gradle directories on each execution in subproject directories [#11971](https://togithub.com/gradle/gradle/issues/11971)
[All issues fixed](https://togithub.com/gradle/gradle/issues?q=is%3Aclosed+milestone%3A6.1.1)
We recommend that you use Gradle 6.1.1 over the initial release of Gradle 6.1.
[Read the full release notes](https://docs.gradle.org/6.1.1/release-notes.html)
#### 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](https://docs.gradle.org/6.1.1/userguide/upgrading_version_6.html#changes_6.1) 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](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v6.1.0`](https://togithub.com/gradle/gradle/releases/v6.1.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v6.0.1...v6.1.0)
The Gradle team is excited to announce Gradle 6.1.
[Read the full release notes](https://docs.gradle.org/6.1/release-notes.html)
We would like to thank the following community contributors to this release of Gradle:
[Mark Nordhoff](https://togithub.com/MarkNordhoff),
[Kazuki Matsuda](https://togithub.com/kazuki-ma),
[Andrew Malyhin](https://togithub.com/katoquro),
[Emmanuel Guérin](https://togithub.com/emmanuelguerin),
[Nicholas Gates](https://togithub.com/gatesn),
[Bjørn Mølgård Vester](https://togithub.com/bjornvester),
[Johnny Lim](https://togithub.com/izeye),
[Benjamin Muskalla](https://togithub.com/bmuskalla),
[Ian Kerins](https://togithub.com/isker),
[Vladimir Sitnikov](https://togithub.com/vlsi),
[Michael Ernst](https://togithub.com/mernst),
[Nelson Osacky](https://togithub.com/runningcode),
[Dmitriy Konopelkin](https://togithub.com/DeKaN),
and [Steven Crockett](https://togithub.com/stevencrockett).
#### Upgrade Instructions
Switch your build to use Gradle 6.1 by updating your wrapper:
`./gradlew wrapper --gradle-version=6.1`
See the [Gradle 6.x upgrade guide](https://docs.gradle.org/6.1/userguide/upgrading_version_6.html#changes_6.1) to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.1.
#### Reporting Problems
If you find a problem with this release, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v6.0.1`](https://togithub.com/gradle/gradle/releases/v6.0.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v6.0.0...v6.0.1)
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](https://togithub.com/gradle/gradle/issues/11330)
- Unable to use a Provider as an artifact for the maven-publish plugin [#11054](https://togithub.com/gradle/gradle/issues/11054)
- Implicit capabilities not always applied/detected [#11300](https://togithub.com/gradle/gradle/issues/11300)
- maven-metadata.xml SHA256 and SHA512 checksums prevent publishing to Nexus [#11308](https://togithub.com/gradle/gradle/issues/11308)
- Unable to properly resolve dynamic dependencies from mavenLocal() repo [#11321](https://togithub.com/gradle/gradle/issues/11321)
- Kotlin DSL: `fileTree(mapOf(...))` has unexpected behavior [#11335](https://togithub.com/gradle/gradle/issues/11335)
- Attribute disambiguation rule for 'org.gradle.category' can cause unexpected type exception [#11365](https://togithub.com/gradle/gradle/issues/11365)
[All issues fixed](https://togithub.com/gradle/gradle/issues?q=is%3Aclosed+milestone%3A6.0.1)
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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v6.0.0`](https://togithub.com/gradle/gradle/releases/v6.0.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.6.4...v6.0.0)
The Gradle team is excited to announce a new major release, Gradle 6.0.
[Read the full release notes](https://docs.gradle.org/6.0/release-notes.html)
We would like to thank the following community contributors to this release of Gradle:
[Nathan Strong](https://togithub.com/NathanStrong-Tripwire),
[Roberto Perez Alcolea](https://togithub.com/rpalcolea),
[Daniel Santiago](https://togithub.com/danysantiago),
[Tetsuya Ikenaga](https://togithub.com/ikngtty),
[Sebastian Schuberth](https://togithub.com/sschuberth),
[Andrey Mischenko](https://togithub.com/gildor),
[Shintaro Katafuchi](https://togithub.com/hotchemi),
[Alex Saveau](https://togithub.com/SUPERCILEX),
[Mike Kobit](https://togithub.com/mkobit),
[Tom Eyckmans](https://togithub.com/teyckmans),
[Artur Dryomov](https://togithub.com/ming13),
[szhem](https://togithub.com/szhem),
[Nigel Banks](https://togithub.com/nigelgbanks),
[Sergey Shatunov](https://togithub.com/Prototik),
[Dan Sănduleac](https://togithub.com/dansanduleac),
[Vladimir Sitnikov](https://togithub.com/vlsi),
[Ross Goldberg](https://togithub.com/rgoldberg),
[jutoft](https://togithub.com/jutoft),
[Robin Verduijn](https://togithub.com/robinverduijn),
[Pedro Tôrres](https://togithub.com/t0rr3sp3dr0),
[Michael Berry](https://togithub.com/MikeBerryFR),
[Evgeny Mandrikov](https://togithub.com/Godin),
[lingocoder](https://togithub.com/lingocoder),
[Robert Stupp](https://togithub.com/snazy),
and [Predrag Knežević](https://togithub.com/pedjak).
#### Upgrade Instructions
Switch your build to use Gradle 6.0 by updating your wrapper:
`./gradlew wrapper --gradle-version=6.0`
See the [Gradle 6.x upgrade guide](https://docs.gradle.org/6.0-rc-3/userguide/upgrading_version_5.html#changes_6.0) to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.0.
#### Reporting Problems
If you find a problem with this release, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.6.4`](https://togithub.com/gradle/gradle/releases/v5.6.4)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.6.3...v5.6.4)
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](https://togithub.com/gradle/gradle/issues/11083)
- Slow localhost look-up on macOS [#11134](https://togithub.com/gradle/gradle/issues/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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.6.3`](https://togithub.com/gradle/gradle/releases/v5.6.3)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.6.2...v5.6.3)
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](https://togithub.com/gradle/gradle/issues/11014)
- Gradle Module Metadata compatibility for unique snapshots [#11050](https://togithub.com/gradle/gradle/issues/11050)
- maven-publish publishes jars with wrong extension for known jar packagings like 'ejb' in 5.6 [#10555](https://togithub.com/gradle/gradle/issues/10555)
- Regression in 5.5 when using dependency constraints for non-jar dependencies without a POM [#10948](https://togithub.com/gradle/gradle/issues/10948)
- resolution failure when dependency locks and kotlin-dsl plugin are present [#10697](https://togithub.com/gradle/gradle/issues/10697)
- Non-Kotlin extensions crash the build when using Kotlin DSL + Kotlin plugins [#10729](https://togithub.com/gradle/gradle/issues/10729)
- Sporadic build failures with build-scan due to an overlapping ID assignment [#10286](https://togithub.com/gradle/gradle/pull/10286)
- Prevent StackOverflowException caused by excessive 'or' via PatternMatcher [#10330](https://togithub.com/gradle/gradle/issues/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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.6.2`](https://togithub.com/gradle/gradle/releases/v5.6.2)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.6.1...v5.6.2)
This bug-fix release contains changes to Gradle 5.6.1:
- Duplicate entry in generated .classpath file in Gradle >= 5.6 ([#10393](https://togithub.com/gradle/gradle/issues/10393))
- Memory leak when using tasks that use Worker API and process isolation ([#10411](https://togithub.com/gradle/gradle/issues/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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.6.1`](https://togithub.com/gradle/gradle/releases/v5.6.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.6.0...v5.6.1)
This bug-fix release contains changes to Gradle 5.6:
- Unable to publish artifacts with custom classifier/extension from java project with Gradle 5.6 ([#10287](https://togithub.com/gradle/gradle/issues/10287))
- Regression in 5.6 signArchives (Duplicate key) ([#10302](https://togithub.com/gradle/gradle/issues/10302))
- Regression setting version for ArchiveTasks in 5.6 ([#10311](https://togithub.com/gradle/gradle/issues/10311))
- A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork ([#10317](https://togithub.com/gradle/gradle/issues/10317))
- DirectoryFileTree breaks SourceTask since 5.6 ([#10322](https://togithub.com/gradle/gradle/issues/10322))
- Regression: Unable to pass java.util.Properties object using Worker API in Gradle 5.6 ([#10323](https://togithub.com/gradle/gradle/issues/10323))
- Unable to publish multiple publications with same coordinates ([#10333](https://togithub.com/gradle/gradle/issues/10333))
- Gradle 5.6 - Resolving resources from buildSrc or plugins ([#10347](https://togithub.com/gradle/gradle/issues/10347))
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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.6.0`](https://togithub.com/gradle/gradle/releases/v5.6.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.5.1...v5.6.0)
The Gradle team is excited to announce Gradle 5.6.
This release also contains an [important security fix](https://togithub.com/gradle/gradle/security/advisories/GHSA-4cwg-f7qc-6r95) affecting some users.
This is the final minor release for Gradle 5.x. [Read the release notes](https://docs.gradle.org/5.6/release-notes.html)
We would like to thank the following community contributors to this release of Gradle:
[Louis CAD](https://togithub.com/LouisCAD),
[Roberto Perez Alcolea](https://togithub.com/rpalcolea),
[Dan Sănduleac](https://togithub.com/dansanduleac),
[Andrew K.](https://togithub.com/miokowpak),
[Noa Resare](https://togithub.com/nresare),
[Juan Martín Sotuyo Dodero](https://togithub.com/jsotuyod),
[Semyon Levin](https://togithub.com/remal),
[wreulicke](https://togithub.com/wreulicke),
[John Rodriguez](https://togithub.com/jrodbx),
[mig4](https://togithub.com/mig4),
[Evgeny Mandrikov](https://togithub.com/Godin),
[Bjørn Mølgård Vester](https://togithub.com/bjornvester),
[Simon Legner](https://togithub.com/simon04),
[Sebastian Schuberth](https://togithub.com/sschuberth),
[Ian Kerins](https://togithub.com/isker),
[Ivo Anjo](https://togithub.com/ivoanjo),
[Stefan M.](https://togithub.com/StefMa),
[Nickolay Chameev](https://togithub.com/lukaville),
[Dominik Giger](https://togithub.com/gigerdo),
[Stephan Windmüller](https://togithub.com/stovocor),
[Zemian Deng](https://togithub.com/zemian),
[Robin Verduijn](https://togithub.com/robinverduijn),
[Sandu Turcan](https://togithub.com/idlsoft),
[Emmanuel Guérin](https://togithub.com/emmanuelguerin),
[Nikita Skvortsov](https://togithub.com/nskvortsov),
and [Christian Fränkel](https://togithub.com/fraenkelc).
#### Upgrade Instructions
Switch your build to use Gradle 5.6 by updating your wrapper properties:
`./gradlew wrapper --gradle-version=5.6`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.5.1`](https://togithub.com/gradle/gradle/releases/v5.5.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.5.0...v5.5.1)
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](https://togithub.com/gradle/gradle/issues/9897)
- Using dependency declaration `gradleKotlinDsl()` fails with 5.5 [#9919](https://togithub.com/gradle/gradle/issues/9919)
- Chain of transitives aligned by same platform can lead to broken resolution [#9882](https://togithub.com/gradle/gradle/issues/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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.5.0`](https://togithub.com/gradle/gradle/releases/v5.5.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.4.1...v5.5.0)
The Gradle team is excited to announce Gradle 5.5.
[Read the release notes](https://docs.gradle.org/5.5/release-notes.html)
We would like to thank the following community contributors to this release of Gradle:
[Martin d'Anjou](https://togithub.com/martinda),
[Ben Asher](https://togithub.com/benasher44),
[Mike Kobit](https://togithub.com/mkobit),
[Erhard Pointl](https://togithub.com/epeee),
[Sebastian Schuberth](https://togithub.com/sschuberth),
[Evgeny Mandrikov](https://togithub.com/Godin),
[Stefan M.](https://togithub.com/StefMa),
[Igor Melnichenko](https://togithub.com/igor-melnichenko),
[Björn Kautler](https://togithub.com/Vampire),
[Roberto Perez Alcolea](https://togithub.com/rpalcolea) and
[Christian Fränkel](https://togithub.com/fraenkelc).
#### Upgrade Instructions
Switch your build to use Gradle 5.5 by updating your wrapper properties:
`./gradlew wrapper --gradle-version=5.5`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.4.1`](https://togithub.com/gradle/gradle/releases/v5.4.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.4.0...v5.4.1)
This bug-fix release contains two changes to Gradle 5.4:
- Fix inconsistent classpath ordering when dependencies have lots of excludes - [#9197](https://togithub.com/gradle/gradle/issues/9197)
- Kotlin DSL IDEA script editor can't find JDK classes with Gradle 5.4 if _Gradle JVM_ != _Project SDK_ - [#9195](https://togithub.com/gradle/gradle/issues/9195)
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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.4.0`](https://togithub.com/gradle/gradle/releases/v5.4.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.3.1...v5.4.0)
The Gradle team is excited to announce Gradle 5.4.
[Read the release notes](https://docs.gradle.org/5.4/release-notes.html)
We would like to thank the following community contributors to this release of Gradle:
[Ian Kerins](https://togithub.com/isker),
[Roberto Perez Alcolea](https://togithub.com/rpalcolea),
[Rodolfo Forte](https://togithub.com/Tschis),
[gla3dr](https://togithub.com/gla3dr),
and [Stefan M.](https://togithub.com/StefMa).
#### Upgrade Instructions
Switch your build to use Gradle 5.4 by updating your wrapper properties:
`./gradlew wrapper --gradle-version=5.4`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.3.1`](https://togithub.com/gradle/gradle/releases/v5.3.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.3.0...v5.3.1)
This bug-fix release contains several changes to Gradle 5.3, notably:
- Unable to use `java-platform` and `maven-publish` in multi-project: [#8845](https://togithub.com/gradle/gradle/issues/8845)
- Unexpected exception when adding a plugin on `buildSrc` compile classpath: [gradle/kotlin-dsl#1363](https://togithub.com/gradle/kotlin-dsl/issues/1363)
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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.3.0`](https://togithub.com/gradle/gradle/releases/v5.3.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.2.1...v5.3.0)
The Gradle team is excited to announce Gradle 5.3.
This release features support for publishing and consuming Gradle Module Metadata, [feature variants or "optional dependencies"](https://docs.gradle.org/5.3/release-notes.html#feature-variants), [type-safe accessors in Kotlin precompiled script plugins](https://docs.gradle.org/5.3/release-notes.html#type-safe-accessors-in-precompiled-script-plugins), and more.
Read the [Gradle 5.x upgrade guide](https://docs.gradle.org/5.3/userguide/upgrading_version_5.html) to learn about breaking changes and considerations for upgrading from Gradle 5.0. If upgrading from Gradle 4.x, please read [upgrading from Gradle 4.x to 5.0](https://docs.gradle.org/5.3/userguide/upgrading_version_4.html) first.
We would like to thank the following community contributors to this release of Gradle: [Stefan M.](https://togithub.com/StefMa), [Evgeny Mandrikov](https://togithub.com/Godin), [Simon Legner](https://togithub.com/simon04), [Raman Gupta](https://togithub.com/rocketraman), [Florian Dreier](https://togithub.com/DreierF), [Kenzie Togami](https://togithub.com/kenzierocks), [Ricardo Pereira](https://togithub.com/thc202), [Thad House](https://togithub.com/ThadHouse), [Joe Kutner](https://togithub.com/jkutner), and [Josh Soref](https://togithub.com/jsoref).
#### Upgrade Instructions
Switch your build to use Gradle 5.3 by updating your wrapper properties:
`./gradlew wrapper --gradle-version=5.3`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.2.1`](https://togithub.com/gradle/gradle/releases/v5.2.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.2.0...v5.2.1)
This bug-fix release contains several changes to Gradle 5.2, notably:
- Checkstyle issues with a single source file: [#8394](https://togithub.com/gradle/gradle/issues/8394)
- BOM support conflicts: [#8420](https://togithub.com/gradle/gradle/issues/8420)
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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.2.0`](https://togithub.com/gradle/gradle/releases/v5.2.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.1.1...v5.2.0)
The Gradle team is excited to announce Gradle 5.2.
This release features a new [Java Platform plugin](https://docs.gradle.org/5.2/release-notes.html#the-java-platform-plugin), [improved C++ plugins](https://docs.gradle.org/5.2/userguide/cpp_plugins.html), [new C++ project types for `gradle init`](https://docs.gradle.org/5.2/userguide/build_init_plugin.html#sec:cppapplication_), [service injection into plugins and project extensions](https://docs.gradle.org/5.2/release-notes.html#service-injection-into-plugins-and-project-extensions), [Kotlin DSL 1.1.3](https://togithub.com/gradle/kotlin-dsl/releases/tag/v1.1.3) and more.
Read the [Gradle 5.x upgrade guide](https://docs.gradle.org/5.2/userguide/upgrading_version_5.html) to learn about breaking changes and considerations for upgrading from Gradle 5.0. If upgrading from Gradle 4.x, please read [upgrading from Gradle 4.x to 5.0](https://docs.gradle.org/5.2/userguide/upgrading_version_4.html) first. Users upgrading from 5.1 should not have to worry about breaking changes.
#### Upgrade Instructions
Switch your build to use Gradle 5.2 by updating your wrapper properties:
`./gradlew wrapper --gradle-version=5.2`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with this release, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.1.1`](https://togithub.com/gradle/gradle/releases/v5.1.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.1.0...v5.1.1)
This bug-fix release contains several changes to Gradle 5.1, notably:
- A daemon memory leak affecting all projects [#8142](https://togithub.com/gradle/gradle/issues/8142)
- Incremental Java compilation [#8194](https://togithub.com/gradle/gradle/issues/8194)
- A fix to Gradle's generated Javadoc in 5.1 [#8183](https://togithub.com/gradle/gradle/issues/8183)
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 .
#### Reporting Problems
If you find a problem with Gradle, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v5.1.0`](https://togithub.com/gradle/gradle/releases/v5.1.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v5.0.0...v5.1.0)
The Gradle team is excited to announce Gradle 5.1.
This release features [repository to dependency matching](https://docs.gradle.org/5.1/release-notes.html#repository-to-dependency-matching), [production-ready configuration avoidance APIs](https://docs.gradle.org/5.1/release-notes.html#configuration-avoidance-for-tasks), [Gradle Kotlin DSL 1.1](https://togithub.com/gradle/kotlin-dsl/releases/tag/v1.1.0), and more.
Read the [Gradle 5.x upgrade guide](https://docs.gradle.org/5.1/userguide/upgrading_version_5.html) to learn about breaking changes and considerations for upgrading from Gradle 5.0.
If upgrading from Gradle 4.x, please read [upgrading from Gradle 4.x to 5.0](https://docs.gradle.org/5.1/userguide/upgrading_version_4.html) first.
We would like to thank the following community contributors to this release of Gradle:
[Mike Kobit](https://togithub.com/mkobit),
[Kent Fletcher](https://togithub.com/fletcher-sumglobal),
[Niklas Grebe](https://togithub.com/ThYpHo0n),
[Jonathan Leitschuh](https://togithub.com/JLLeitschuh),
[Sebastian Schuberth](https://togithub.com/sschuberth),
[Dan Sănduleac](https://togithub.com/dansanduleac),
[Olivier Voortman](https://togithub.com/blop),
[Alex Saveau](https://togithub.com/SUPERCILEX),
and [Till Krullmann](https://togithub.com/tkrullmann).
See the full set of [release notes](https://docs.gradle.org/5.1/release-notes.html).
#### Upgrade Instructions
Switch your build to use Gradle 5.1 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.1
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle 5.1, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
We hope you will build happiness with Gradle 5.1, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://togithub.com/gradle).
### [`v5.0.0`](https://togithub.com/gradle/gradle/releases/v5.0.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.10.3...v5.0.0)
The Gradle team is excited to announce Gradle 5.0.
This release features [a production-ready Kotlin DSL](#kotlin-dsl-1.0), [dependency version alignment](#dependency-version-alignment) (similar to and usable with Maven BOMs), [task timeouts](#task-timeouts), [Java 11 support](#java-11-runtime-support), and more.
These release notes list what's new since Gradle 4.10. You can review the [highlights since Gradle 4.0 here](https://gradle.org/whats-new/gradle-5).
Read the [Gradle 5.0 upgrade guide](https://docs.gradle.org/5.0/userguide/upgrading_version_4.html) to learn about breaking changes and considerations for upgrading from Gradle 4.x.
We would like to thank the following community contributors to this release of Gradle: [Jean-Baptiste Nizet](https://togithub.com/jnizet), [Jonathan Leitschuh](https://togithub.com/JLLeitschuh), [Ben McCann](https://togithub.com/benmccann), [Björn Kautler](https://togithub.com/Vampire), [Georg Friedrich](https://togithub.com/GFriedrich), [Stefan M.](https://togithub.com/StefMa), [Xiang Li](https://togithub.com/lixiangconan), [Theodore Ni](https://togithub.com/tjni), [James Justinic](https://togithub.com/jjustinic), [Mike Kobit](https://togithub.com/mkobit), [Alex Saveau](https://togithub.com/SUPERCILEX), [Kevin Macksamie](https://togithub.com/k-mack), [Cliffred van Velzen](https://togithub.com/cliffred), [Artem Zinnatullin](https://togithub.com/artem-zinnatullin), [Jakub Strzyżewski](https://togithub.com/shindouj), [Martin Dünkelmann](https://togithub.com/MartinX3), [Thad House](https://togithub.com/ThadHouse), [Dan Sanduleac](https://togithub.com/dansanduleac), [Felipe Lima](https://togithub.com/felipecsl), and [thc202](https://togithub.com/thc202).
#### Kotlin DSL 1.0
First and foremost, Gradle [Kotlin DSL is now production-ready](https://togithub.com/gradle/kotlin-dsl/releases/tag/v1.0.4) with it's 1.0 release! Authoring your build logic using Kotlin provides significant additional editing assistance in IDEs, including: improved completion, error highlighting, and refactoring tools. Please read our [Gradle Kotlin DSL Primer](https://docs.gradle.org/5.0/userguide/kotlin_dsl.html) and follow our [migrating build logic from Groovy to Kotlin guide](https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/) if you're interested. If you prefer the flexibility and dynamic features of Groovy, that's totally okay — the Groovy DSL will not be deprecated.
![Kotlin DSL](https://user-images.githubusercontent.com/132773/47720016-32f04600-dc4d-11e8-90e3-128647bb0aab.png)
#### Dependency version alignment
This version of Gradle introduces [dependency version alignment](https://docs.gradle.org/5.0/userguide/managing_transitive_dependencies.html#sec:version_alignment). This allows different modules belonging to the same logical group (`platform`) to have identical versions in a dependency graph. Maven BOMs can be imported to define platforms as well.
```kotlin
dependencies {
// import a BOM. The versions used in this file will override any other version found in the graph
implementation(enforcedPlatform("org.springframework.boot:spring-boot-dependencies:1.5.8.RELEASE"))
// define dependencies without versions
implementation("com.google.code.gson:gson")
implementation("dom4j:dom4j")
// this version will be overriden by the one found in the BOM
implementation("org.codehaus.groovy:groovy:1.8.6")
}
```
More details about BOM import can be found in [this section of the userguide](https://docs.gradle.org/5.0/userguide/managing_transitive_dependencies.html#sec:bom_import).
#### Gradle build initialization features
[`gradle init` functionality has been upgraded](https://docs.gradle.org/5.0/userguide/build_init_plugin.html) in this release: is now optionally _interactive_, includes new `kotlin-library` and `kotlin-application` project types, provides options for configuring project and package names, and more.
![interactive gradle init](https://user-images.githubusercontent.com/132773/48338870-1568a680-e667-11e8-8be6-aa9fd1fb385a.gif)
#### Searchable documentation
Search for Gradle Docs is back. The kind folks at [Algolia](https://www.algolia.com/) kindly host an index used to allow you to search the user manual and DSL reference.
![Docsearch demo](https://user-images.githubusercontent.com/132773/47705948-43da9080-dc28-11e8-82b1-6108dca6f886.png)
[Gradle API Javadocs](https://docs.gradle.org/5.0/javadoc/) now take advantage of Javadoc built-in autocomplete, making it easier to find classes and methods you're interested in.
#### Task timeouts
You can now specify a timeout duration for a task, after which it will be interrupted. Read more [about task timeouts](https://docs.gradle.org/5.0/userguide/more_about_tasks.html#sec:task_timeouts) in the docs.
#### HTTP retries during dependency resolution
When Gradle attempts to connect to a remote repository via HTTP, if it fails, Gradle will retry before blacklisting the repository.
No extra configuration is needed. See the section on [HTTP retries](https://docs.gradle.org/5.0/userguide/introduction_dependency_management#sub:http-retries) for more information.
#### Performance features
Gradle can now be started as a low-prority process. This ensures that other applications like your IDE or browser stay responsive, even while a very demanding build is running.
When using `@OutputFiles` or `@OutputDirectories` with an `Iterable` type, Gradle used to disable caching for the task. This is no longer the case, and using such properties doesn't prevent the task from being cached. The only remaining reason to disable caching for the task is if the output contains file trees.
The [JaCoCo plugin](https://docs.gradle.org/5.0/userguide/jacoco_plugin.html) plugin now works seamlessly with the build cache. When applying the plugin with no extra configuration, the test task stays cacheable and parallel test execution can be used.
#### Java 11 runtime support
Java enthusiasts will be happy to read that this release **supports running Gradle builds with JDK 11**.
#### Plugin authoring features
This release introduces useful changes for plugin and custom task authors, including an API for creating `SourceDirectorySet`s, improvements to the `Provider` API, and improved build cache compatibility.
#### Gradle Native features
The [Gradle Native project](https://togithub.com/gradle/gradle-native/blob/master/docs/RELEASE-NOTES.md#changes-included-in-gradle-50) continues to improve and evolve the native ecosystem support for Gradle.
#### Upgrade Instructions
Switch your build to use Gradle 5.0 by updating your wrapper properties:
./gradlew wrapper --gradle-version=5.0
Standalone downloads are available at [gradle.org/release-candidate](https://gradle.org/release-candidate).
#### Reporting Problems
If you find a problem with Gradle 5.0, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
We hope you will build happiness with Gradle 5.0, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://togithub.com/gradle).
### [`v4.10.3`](https://togithub.com/gradle/gradle/releases/v4.10.3)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.10.2...v4.10.3)
This bug-fix release contains **3** changes to Gradle 4.10.2:
- [#7510](https://togithub.com/gradle/gradle/pull/7510)
- [#6849](https://togithub.com/gradle/gradle/issues/6849)
- [#7014](https://togithub.com/gradle/gradle/issues/7014)
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 .
#### Reporting Problems
If you find a problem with Gradle 4.10.3, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.10.2`](https://togithub.com/gradle/gradle/releases/v4.10.2)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.10.1...v4.10.2)
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](https://togithub.com/gradle/gradle/issues/6735)
- Gradle fails to resolve project dependencies against Scala projects [#6750](https://togithub.com/gradle/gradle/issues/6750)
- Candidate set provided to `AttributeDisambiguationRule` contains null entry [#6747](https://togithub.com/gradle/gradle/issues/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 .
#### Reporting Problems
If you find a problem with Gradle 4.10.2, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.10.1`](https://togithub.com/gradle/gradle/releases/v4.10.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.10.0...v4.10.1)
This bug-fix release addresses **6** regressions in Gradle 4.10:
- [#6656](https://togithub.com/gradle/gradle/issues/6656): FileTreeElement.getPath() returns absolute system dependent filepath.
- [#6592](https://togithub.com/gradle/gradle/issues/6592): Up-to-date checks for missing files can be incorrect
- [#6612](https://togithub.com/gradle/gradle/issues/6612): Gradle fails when no incremental compile snapshot data available.
- [#6582](https://togithub.com/gradle/gradle/issues/6582): Gradle 4.10 incorrect ordering between dependencies of dependent tasks.
- [#6558](https://togithub.com/gradle/gradle/issues/6558): `tasks.withType(ScalaCompile::class.java).configureEach` fails on multi-project builds.
- [#6653](https://togithub.com/gradle/gradle/issues/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](https://togithub.com/gradle/kotlin-dsl/releases/tag/v1.0-RC6) 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 .
#### Reporting Problems
If you find a problem with Gradle 4.10.1, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.10.0`](https://togithub.com/gradle/gradle/releases/v4.10.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.9.0...v4.10.0)
The Gradle team is pleased to announce Gradle 4.10. This is a big release.
First and foremost, this release of Gradle features an improved [incremental Java compiler, now enabled by default](https://docs.gradle.org/4.10/release-notes.html#incremental-java-compilation-by-default).
This will result in significantly reduced Java compilation time in subsequent builds when outputs are not up-to-date or resolved from the build cache.
Chances are caches in those `.gradle/` directories have accumulated a few (or a few dozen) gigabytes over time.
If so, you'll be relieved to know that Gradle will now [periodically clean up unused `/caches`](https://docs.gradle.org/4.10/release-notes.html#periodic-cache-cleanup) under `GRADLE_USER_HOME` and project root directories.
A moment you have anticipated is nearly here, as the [Kotlin DSL reaches version 1.0 RC3](https://togithub.com/gradle/kotlin-dsl/releases/tag/v1.0-RC3).
Configuration avoidance, `buildSrc` refactoring propagation to the IDE, and lots of DSL polish make this the release to try.
Gradle Kotlin DSL 1.0 will ship with the next version of Gradle, 5.0.
Read [this blog post](https://blog.gradle.org/gradle-kotlin-dsl-release-candidate) for guidance on trying the Kotlin DSL and submitting feedback.
You can now use [SNAPSHOT plugin versions with the `plugins {}`](https://docs.gradle.org/4.10/release-notes.html#use-snapshot-plugin-versions-with-the-plugins-{}-block) and `pluginManagement {}` blocks.
This is especially good news for Kotlin DSL users, who will get code assistance and auto-completion for these `SNAPSHOT` plugins.
Special thanks to [Sébastien Deleuze](https://togithub.com/sdeleuze) for contributing.
Last but not least, [included builds can now be nested](https://docs.gradle.org/4.10/release-notes.html#nested-included-builds).
This makes some common workflows more convenient, such as working on multiple source repositories at the same time to implement a cross-cutting feature.
We hope you will build happiness with Gradle 4.10, and we look forward to your feedback [via Twitter](https://twitter.com/gradle) or [on GitHub](https://togithub.com/gradle/gradle).
#### Upgrade Instructions
Switch your build to use Gradle 4.10 quickly by updating your wrapper properties:
./gradlew wrapper --gradle-version=4.10
Standalone downloads are available at [gradle.org/install](https://gradle.org/install/).
### [`v4.9.0`](https://togithub.com/gradle/gradle/releases/v4.9.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.8.1...v4.9.0)
The Gradle team is pleased to announce Gradle 4.9.
First, publishing tools get some more love: projects that publish auxiliary publications (e.g. test fixtures) through `maven-publish` and `ivy-publish` can now be [depended upon by other projects](https://togithub.com/gradle/gradle/issues/1061) in the same build. There is also a [new Publishing Overview chapter](https://docs.gradle.org/4.9/userguide/publishing_overview.html) in the user manual and updates throughout the documentation regarding publishing artifacts using Maven and Ivy.
In addition to lazy tasks use, Kotlin DSL build scripts are evaluated faster with version 0.18.4, included in this version of Gradle. IntelliJ IDEA and Android Studio user experience is also improved.
See details in the [Kotlin DSL v0.18.x release notes](https://togithub.com/gradle/kotlin-dsl/releases/tag/v0.18.4).
You can now pass arguments to `JavaExec` tasks [directly from the command-line](https://docs.gradle.org/4.9/release-notes.html#command-line-args-supported-by-javaexec) using `--args`:
❯ gradle run --args 'foo --bar'
No more need to hard-code arguments in your build scripts. Consult the documentation for the [Application Plugin](https://docs.gradle.org/4.9/userguide/application_plugin.html#sec:application_usage) for more information.
Last but not least, this version of Gradle has an _improved dependency insight report_. Read the [details further on](https://docs.gradle.org/4.9/release-notes.html#improved-dependency-insight-report).
We hope you will build happiness with Gradle 4.9, and we look forward to your feedback [via Twitter](https://twitter.com/gradle) or [on GitHub](https://togithub.com/gradle).
#### Upgrade Instructions
Switch your build to use Gradle 4.9 quickly by updating your wrapper properties:
`./gradlew wrapper --gradle-version=4.9`
Standalone downloads are available at [gradle.org/install](https://gradle.org/install).
### [`v4.8.1`](https://togithub.com/gradle/gradle/releases/v4.8.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.8.0...v4.8.1)
This bug-fix release addresses **6** regressions in Gradle 4.8:
- [#5740](https://togithub.com/gradle/gradle/issues/5740): Maven Central dropped support for older TLS implementations. This makes the dependency resolution fail if the Gradle build runs on JDK 7.
- [#5701](https://togithub.com/gradle/gradle/pull/5701): Gradle 4.8 broke compatibility with the `artifactory` and `bintray` publishing plugins.
- [#5708](https://togithub.com/gradle/gradle/issues/5708): Gradle 4.8 sometimes fails with `ConcurrentModificationException` when `project.tasks.withType()` is used.
- [#5729](https://togithub.com/gradle/gradle/pull/5729): The dependency resolution engine sometimes fails with "Unexpected parent dependency" message, which became more apparent in Gradle 4.8.
- [#5722](https://togithub.com/gradle/gradle/issues/5722): Gradle 4.8 broke the ability of the `SourceSet` to override the compile tasks' destination directory.
- [#5692](https://togithub.com/gradle/gradle/issues/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 .
#### Reporting Problems
If you find a problem with Gradle 4.8.1, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.8.0`](https://togithub.com/gradle/gradle/releases/v4.8.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.7.0...v4.8.0)
The Gradle team is pleased to announce Gradle 4.8.
First and foremost, this release of Gradle features [dependency locking](https://docs.gradle.org/4.8/release-notes#locking-of-dynamic-dependencies): a mechanism for locking dependency versions which allows builds to become reproducible in the face of dynamic versions or version ranges.
Read the [user manual chapter on dependency locking](https://docs.gradle.org/4.8/userguide/dependency_locking.html) to learn how to take advantage of this exciting new feature.
The publishing plugins get some highly-anticipated improvements in this release:
- The Signing Plugin now supports [signing all artifacts of a publication](https://docs.gradle.org/4.8/release-notes#signing-publications).
- The Maven Publish Plugin now provides a dedicated, type-safe [DSL to customize the POM generated](https://docs.gradle.org/4.8/release-notes#customizing-the-generated-pom) as part of a Maven publication.
- The Ivy Publish Plugin now provides a dedicated, type-safe [DSL to customize the Ivy module descriptor generated](https://docs.gradle.org/4.8/release-notes#customizing-the-generated-ivy-module-descriptor) as part of an Ivy publication.
- Configuration-wide [dependency excludes are now published](https://docs.gradle.org/4.8/release-notes#configuration-wide-dependency-excludes-are-now-published)
The `maven-publish` and `ivy-publish` plugins are now considered stable and use of the `maven` plugin is discouraged as it will eventually be deprecated — please migrate.
User experience for [incremental annotation processing is improved](https://docs.gradle.org/4.8/release-notes#improved-incremental-annotation-processing).
Compilation will no longer fail when a processor does something that Gradle detects will not work incrementally.
Unused non-incremental processors no longer prevent incremental compilation.
Finally, annotation processors are now able to decide dynamically if they are incremental or not.
This allows processors with extension mechanisms to check extensions for incrementality before enabling incremental annotation processing.
New native plugins continue to improve with [better control over system include path](https://docs.gradle.org/4.8/release-notes#better-control-over-system-include-path-for-native-compilation) for native compilation and [other improvements](https://togithub.com/gradle/gradle-native/blob/master/docs/RELEASE-NOTES.md#changes-included-in-gradle-48).
Gradle 4.8 includes Kotlin DSL 0.17.5, bringing the latest Kotlin 1.2.41 release and many improvements to the user experience including location aware runtime error reporting, convenient configuration of nested extensions, faster and leaner configuration time, and TestKit support.
At the same time the IntelliJ IDEA Kotlin Plugin fixed many long standing build script editing related issues.
See details and examples in the [Kotlin DSL v0.17 release notes](https://togithub.com/gradle/kotlin-dsl/releases/tag/v0.17.5).
We hope you build happiness with Gradle 4.8, and we look forward to your feedback [via Twitter](https://twitter.com/gradle) or [on GitHub](https://togithub.com/gradle).
#### Upgrade instructions
Switch your build to use Gradle 4.8 quickly by updating your wrapper properties:
gradle wrapper --gradle-version=4.8
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle 4.8, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.7.0`](https://togithub.com/gradle/gradle/releases/v4.7.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.6.0...v4.7.0)
The Gradle team is pleased to announce Gradle 4.7.
First and foremost, Gradle's incremental Java compiler can now run **annotation processing incrementally**. No user-facing configuration is necessary, but processor authors need to opt-in. We request annotation processor authors read the [documentation for this feature](https://docs.gradle.org/4.7/userguide/java_plugin.html#sec:incremental_annotation_processing) and contact the Gradle team via the [forum](https://discuss.gradle.org/c/help-discuss) for assistance.
Java enthusiasts will be happy to read that this release **supports running Gradle builds with JDK 10**.
Gradle log output is now [grouped by task for non-interactive executions](https://docs.gradle.org/4.7/release-notes.html#logs-grouped-by-task-for-non-interactive-executions), making interleaved logs a thing of the past on CI. It also enables build scan plugin v1.13 to show logs per task:
![buildscan](https://user-images.githubusercontent.com/214207/38857720-3c046b4e-422a-11e8-9d07-391d5b1a150f.png)
Moving on to other areas of user experience: running tests is further improved as [failed tests now run first](https://docs.gradle.org/4.7/release-notes.html#rerun-failed-tests-first). Together with the [`--fail-fast` option](https://docs.gradle.org/4.7/userguide/java_plugin.html#sec:test_execution) it provides the quickest possible feedback loop.
This release introduces an incubating new capability for Kotlin DSL users: **precompiled script plugins**. This means that you can create a Kotlin DSL script within a regular Kotlin source set and get the benefits of binary plugins. For example, `src/main/kotlin/nyan.gradle.kts` could be used as `plugins { id("nyan") }`.
Kotlin DSL v0.16 also includes Kotlin 1.2.31, a more consistent API, better IDE support, and more. See details and examples in the [Kotlin DSL v0.16 release notes](https://togithub.com/gradle/kotlin-dsl/releases/tag/v0.16.3).
We hope you will build happiness with Gradle 4.7, and we look forward to your feedback [via Twitter](https://twitter.com/gradle) or [on GitHub](https://togithub.com/gradle).
#### Upgrade Instructions
Switch your build to use Gradle 4.7 quickly by updating your wrapper properties:
`gradle wrapper --gradle-version=4.7`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle 4.7, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.6.0`](https://togithub.com/gradle/gradle/releases/v4.6.0)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.5.1...v4.6.0)
The Gradle team is pleased to announce Gradle 4.6.
First and foremost, this release of Gradle includes built-in support for JUnit Platform and the JUnit Jupiter/Vintage Engine, also known as [JUnit 5 support](https://docs.gradle.org/4.6/release-notes.html#junit-5-support).
You can use the new filtering and engines functionality in JUnit 5 using the examples provided below and in the documentation.
Thank you to the [JUnit team](https://togithub.com/orgs/junit-team/people) for helping to achieve JUnit Platform support, and a special thank you to [Andrew Oberstar](https://togithub.com/ajoberstar) for extraordinary contributions toward this effort.
Also regarding testing, you can now improve your testing feedback loop when running JVM-based tests using the [new fail-fast option for `Test` tasks](https://docs.gradle.org/4.6/release-notes.html#fail-fast-option-for-test-tasks), which stops the build immediately after the first test failure.
// Example JUnit 5 and fail-fast test configuration
test {
useJUnitPlatform {
excludeTags 'slow'
includeEngines 'junit-jupiter', 'junit-vintage'
}
failFast = true
}
Moving on to dependency management improvements: you can now [declare dependency constraints for transitive dependencies](https://docs.gradle.org/4.6/release-notes.html#dependency-constraints-for-transitive-dependencies) and avoid problems caused by oft-hidden upstream dependency changes.
This release also features enhanced Maven dependency compatibility: support for [importing BOMs](https://docs.gradle.org/4.6/release-notes.html#bom-import), [optional dependencies](https://docs.gradle.org/4.6/release-notes.html#support-for-optional-dependencies-in-pom-consumption), and [compile/runtime separation when consuming POMs](https://docs.gradle.org/4.6/release-notes.html#compile/runtime-scope-separation-in-pom-consumption).
For now you must enable these features by adding `enableFeaturePreview('IMPROVED_POM_SUPPORT')` to your _settings.gradle_ file, as they break backward compatibility in some cases.
This version of Gradle also comes with a couple especially useful new APIs for task development. You can now [declare custom command-line flags for your custom tasks](https://docs.gradle.org/4.6/release-notes.html#tasks-api-allows-custom-command-line-options), for example: `gradle myCustomTask --myfoo=bar`. In addition, [tasks that extend `Test`, `JavaExec` or `Exec` can declare rich arguments](https://docs.gradle.org/4.6/release-notes.html#rich-command-line-arguments-for-test,-javaexec-or-exec-tasks) for invoking the underlying executable. This allows for better modeling of tools like annotation processors.
Speaking of annotation processors, it is now more convenient to declare dependencies that are annotation processors through the [new `annotationProcessor` dependency configuration](https://docs.gradle.org/4.6/release-notes.html#convenient-declaration-of-annotation-processor-dependencies). Using a separate dependency configuration for annotation processors is a best practice for improving performance.
[Kotlin DSL v0.15.6](https://togithub.com/gradle/kotlin-dsl/releases/tag/v0.15.6) is included in this release of Gradle, and features initialization scripts support, nicer script compilation error reporting, performance improvements, and better IntelliJ IDEA integration. Details are available in the linked release notes.
We hope you will build happiness with Gradle 4.6, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://togithub.com/gradle).
#### Upgrade Instructions
Switch your build to use Gradle 4.6 quickly by updating your wrapper properties:
`gradle wrapper --gradle-version=4.6`
Standalone downloads are available at [gradle.org/releases](https://gradle.org/releases).
#### Reporting Problems
If you find a problem with Gradle 4.6, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
### [`v4.5.1`](https://togithub.com/gradle/gradle/releases/v4.5.1)
[Compare Source](https://togithub.com/gradle/gradle/compare/v4.5.0...v4.5.1)
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 dep
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.14.1
->6.1.1
Release Notes
gradle/gradle
### [`v6.1.1`](https://togithub.com/gradle/gradle/releases/v6.1.1) [Compare Source](https://togithub.com/gradle/gradle/compare/v6.1.0...v6.1.1) 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](https://togithub.com/gradle/gradle/issues/11947) - Missing fixed issues from Gradle 6.1 release notes [#11954](https://togithub.com/gradle/gradle/issues/11954) - Memory regression when resolving large artifacts while computing checksums [#11966](https://togithub.com/gradle/gradle/issues/11966) - Gradle 6.1 generates an empty .gradle and gradle directories on each execution in subproject directories [#11971](https://togithub.com/gradle/gradle/issues/11971) [All issues fixed](https://togithub.com/gradle/gradle/issues?q=is%3Aclosed+milestone%3A6.1.1) We recommend that you use Gradle 6.1.1 over the initial release of Gradle 6.1. [Read the full release notes](https://docs.gradle.org/6.1.1/release-notes.html) #### 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](https://docs.gradle.org/6.1.1/userguide/upgrading_version_6.html#changes_6.1) 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](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). ### [`v6.1.0`](https://togithub.com/gradle/gradle/releases/v6.1.0) [Compare Source](https://togithub.com/gradle/gradle/compare/v6.0.1...v6.1.0) The Gradle team is excited to announce Gradle 6.1. [Read the full release notes](https://docs.gradle.org/6.1/release-notes.html) We would like to thank the following community contributors to this release of Gradle: [Mark Nordhoff](https://togithub.com/MarkNordhoff), [Kazuki Matsuda](https://togithub.com/kazuki-ma), [Andrew Malyhin](https://togithub.com/katoquro), [Emmanuel Guérin](https://togithub.com/emmanuelguerin), [Nicholas Gates](https://togithub.com/gatesn), [Bjørn Mølgård Vester](https://togithub.com/bjornvester), [Johnny Lim](https://togithub.com/izeye), [Benjamin Muskalla](https://togithub.com/bmuskalla), [Ian Kerins](https://togithub.com/isker), [Vladimir Sitnikov](https://togithub.com/vlsi), [Michael Ernst](https://togithub.com/mernst), [Nelson Osacky](https://togithub.com/runningcode), [Dmitriy Konopelkin](https://togithub.com/DeKaN), and [Steven Crockett](https://togithub.com/stevencrockett). #### Upgrade Instructions Switch your build to use Gradle 6.1 by updating your wrapper: `./gradlew wrapper --gradle-version=6.1` See the [Gradle 6.x upgrade guide](https://docs.gradle.org/6.1/userguide/upgrading_version_6.html#changes_6.1) to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 6.1. #### Reporting Problems If you find a problem with this release, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). ### [`v6.0.1`](https://togithub.com/gradle/gradle/releases/v6.0.1) [Compare Source](https://togithub.com/gradle/gradle/compare/v6.0.0...v6.0.1) 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](https://togithub.com/gradle/gradle/issues/11330) - Unable to use a Provider as an artifact for the maven-publish plugin [#11054](https://togithub.com/gradle/gradle/issues/11054) - Implicit capabilities not always applied/detected [#11300](https://togithub.com/gradle/gradle/issues/11300) - maven-metadata.xml SHA256 and SHA512 checksums prevent publishing to Nexus [#11308](https://togithub.com/gradle/gradle/issues/11308) - Unable to properly resolve dynamic dependencies from mavenLocal() repo [#11321](https://togithub.com/gradle/gradle/issues/11321) - Kotlin DSL: `fileTree(mapOf(...))` has unexpected behavior [#11335](https://togithub.com/gradle/gradle/issues/11335) - Attribute disambiguation rule for 'org.gradle.category' can cause unexpected type exception [#11365](https://togithub.com/gradle/gradle/issues/11365) [All issues fixed](https://togithub.com/gradle/gradle/issues?q=is%3Aclosed+milestone%3A6.0.1) 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 atRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.