Recent Releases
8.11.120 Nov 2024 20:51
minor bugfix:
This is a patch release for Gradle 8.11. We recommend users upgrade to 8.11.1 instead of 8.11.
It fixes the following issues:
#31268 BuildEventsListenerRegistry corrupted with Isolated Projects and parallel configuration
#31282 Running executables sporadically fails with ETXTBSY (Text file busy)
#31284 ArrayIndexOutOfBoundsException after upgrading to gradle 8.11 when generating problems report
#31310 Unable to run Gradle task in 8.10 due to bytecode interception
8.1111 Nov 2024 16:11
major feature:
The Gradle team is excited to announce Gradle 8.11.
In this release, builds using the Configuration Cache can become much faster with opt-in parallel loading and storing of cache entries. Additionally, projects created with gradle init now enable the Configuration Cache by default.
This release also simplifies troubleshooting, as Java compilation errors are now displayed at the end of the build output. Additionally, an HTML summary of reported problems is generated by default.
The C++ and Swift plugins are now compatible with Configuration Cache.
This release also brings several API improvements for build authors and support for Clang and GCC on Linux arm64 architectures.
8.10.224 Sep 2024 10:12
minor bugfix:
This is a patch release for 8.10. We recommend using 8.10.2 instead of 8.10
It fixes the following issues:
#30472 Investigate possibly broken 8.10.1
#30477 Kotlin Mutliplatform build with reused daemon fails with "Cannot query the value of task ':compileKotlinWindows' property 'kotlinNativeBundleBuildService' because it has no value available."
#30497 DefaultTaskCollection#configureEach(Action) on task set cannot be executed in the current context
Issues fixed in the first patch release:
#30239 Gradle 8.10 Significantly Slower Due to Dependency Resolution
#30272 Broken equals() contract for LifecycleAwareProject
#30385 Gradle should not validate isolated projects when isolated projects is disabled
8.10.109 Sep 2024 08:33
minor bugfix:
The Gradle team is excited to announce Gradle 8.10.1.
This is the first patch release for Gradle 8.10.
It fixes the following issues:
#30239 Gradle 8.10 Significantly Slower Due to Dependency Resolution
#30272 Broken equals() contract for LifecycleAwareProject
#30385 Gradle should not validate isolated projects when isolated projects is disabled
We recommend users upgrade to 8.10.1 instead of 8.10.
8.1019 Aug 2024 21:22
major feature:
The Gradle team is excited to announce Gradle 8.10.
Gradle now supports running on Java 23.
This release introduces performance and reporting improvements to the configuration cache, including a significant reduction in the cache file size and accelerated cache loading times. There are also updates to build authoring APIs.
8.911 Jul 2024 16:11
major feature:
The Gradle team is excited to announce Gradle 8.9.
This release improves error and warning reporting for variant issues during dependency resolution. It also exposes structural details of Java compilation errors for IDE integrators, making it easier to analyze and resolve issues.
Additionally, this release includes the ability to display more detailed information about JVMs used by Gradle, as well as other minor improvements.
8.803 Jun 2024 06:57
major feature:
The Gradle team is excited to announce Gradle 8.8.
Gradle now supports Java 22.
This release introduces a preview feature to configure the Gradle daemon JVM using toolchains and improved IDE performance with large projects.
Additionally, this release includes many notable improvements to build authoring, error and warning messages, the build cache, and the configuration cache.
Additionally, this release includes improvements to build authoring, error and warning messages, the configuration cache, and the Kotlin DSL.
See the full release notes below for details.
8.722 Mar 2024 20:25
major feature:
The Gradle team is excited to announce Gradle 8.7.
Java 22 is now supported for compiling, testing, and running JVM-based projects.
Script compilation for the Groovy DSL can now be avoided thanks to the build cache.
Additionally, this release includes improvements to build authoring, error and warning messages, the configuration cache, and the Kotlin DSL.
See the full release notes below for details.
8.602 Feb 2024 20:16
major feature:
The Gradle team is excited to announce Gradle 8.6.
This release features support for custom encryption keys for the configuration cache, several improvements to build init, and updated build authoring APIs.
Additionally, this release provides more helpful error and warning messages and a new API for IDE integrators.
Additionally, this release comes with more helpful error and warning messages, improvements to build init, dependency verification and several new APIs for build and plugin authors. See the full release notes for details.
8.529 Nov 2023 19:48
major feature:
The Gradle team is excited to announce Gradle 8.5.
Gradle now supports running on Java 21.
This release features Kotlin DSL improvements, including faster first use and version catalog support in precompiled Kotlin script plugins.
Additionally, this release comes with more helpful error and warning messages, improvements to build init, dependency verification and several new APIs for build and plugin authors. See the full release notes for details.
8.405 Oct 2023 08:15
major feature:
The Gradle team is excited to announce Gradle 8.4.
This release features several improvements for JVM-based projects. Java 21 is now supported for compiling, testing, and running such projects. Faster Java compilation with persistent compiler deamons now also works on Windows. This release also brings a simpler way to create dependency configurations for specific roles. For more improvements for JVM-based projects, see the full release notes.
8.327 Aug 2023 22:59
minor bugfix:
The Gradle team is excited to announce Gradle 8.3.
This release features the support for persistent Java compiler daemons to speed up Java compilation. Gradle will also use less memory for dependency resolution. The effect is significant, particularly for large builds such as Android builds.
Gradle now supports running on Java 20.
For Kotlin DSL, build authors can try out the Kotlin K2 compiler for build logic with some limitations. See the Kotlin DSL dedicated section for more information.
This release also brings several usability improvements, including better CodeNarc output, a dry run mode for test execution, improved output for task options, and upgraded SSL support.
8.1.121 Apr 2023 16:51
minor bugfix:
This is a patch release for Gradle 8.1. We recommend using 8.1.1 instead of 8.1.
It fixes the following issues:
#24748 MethodTooLargeException when instrumenting a class with thousand of lambdas for configuration cache
#24754 Kotlin DSL precompiled script plugins built with Gradle 8.1 cannot be used with other versions of Gradle
#24788 Gradle 8.1 configure freeCompilerArgs for Kotlin in buildSrc breaks build with unhelpful errors
8.112 Apr 2023 19:36
major feature:
The Gradle team is excited to announce Gradle 8.1.
You'll be happy to know that the configuration cache is now stable and ready for general use. The configuration cache was introduced in Gradle 6.6 to help speed up builds by caching the result of the configuration phase and reusing it for subsequent builds. Plus, there are several other improvements that enhance its usability and compatibility that pave the way for further performance boosts.
The Kotlin DSL has undergone significant improvements to make it easier for build authors to create simpler build scripts and better plugins. As an experimental feature, Kotlin DSL also has a simple assignment for Gradle Property types.
In JVM-based projects, it is now possible to use Java 20 for compiling, testing, and running Java projects. Additionally, CodeNarc analysis runs in parallel by default, allowing for faster code quality analysis.
This release also contains several other improvements and bug fixes.
8.0.203 Mar 2023 20:50
minor bugfix:
The Gradle team is excited to announce Gradle 8.0.2.
This is the second patch release for Gradle 8.0. We recommend using 8.0.2 instead of 8.0.
It fixes the following issues:
#23698 Gradle 8 RC2 runs out of metaspace
#23962 Java/Scala build with no explicit toolchain: build fails with Gradle 8.0.1 / Scala 2.13
#23990 Gradle 8.0.+ silently dropped support for custom compilers in JavaCompile
#24031 InstrumentingTransformer generates different class files in Gradle 8 and 7.6 which leads to Remote Build-Cache misses
#24109 Extending an already resolved configuration no longer works correctly
#24122 Update configuration cache state for some plugins
#24129 includeBuild in PluginManagementSpec deincubated in Gradle 8, docs still say it's incubating
Issues fixed in the first patch release:
#21551 Document integration of Scala plugin with toolchains and problems with target flag
#23888 --no-rebuild suddenly gone without new deprecation cycle and without the reason for its undeprecation being void
#23905 Gradle 8.0 fails Scala build with isBlank not found in String class error
8.0.118 Feb 2023 00:14
minor bugfix:
This is a patch release for 8.0. We recommend using 8.0.1 instead of 8.0.
It fixes the following issues:
#21551 - Document integration of Scala plugin with toolchains and problems with target flag
#23888 - --no-rebuild suddenly gone without new deprecation cycle and without the reason for its undeprecation being void
#23905 - Gradle 8.0 fails Scala build with isBlank not found in String class error
8.013 Feb 2023 15:29
major feature:
The Gradle team is excited to announce a new major version of Gradle, 8.0. This major version has breaking changes; please consult the Gradle 7.x upgrade guide for guidance.
This release includes several improvements to the Kotlin DSL. This consists of an interpreter to skip the Kotlin compiler for declarative plugins and an upgrade to Kotlin API level 1.8.
Many of the benefits of included builds are now available with buildSrc, such as running buildSrc tasks directly, skipping tests, and including other builds with buildSrc. For now, there are still some advantages to included builds that will be incorporated into buildSrc in future releases.
Additionally, we have made enhancements to the configuration cache. This includes more fine-grained parallelism by loading tasks from the cache entry and running tasks as isolated on the first build.
Gradle 8.0 also has several bug fixes, removes deprecated features, and other general improvements.
7.630 Nov 2022 21:49
major feature:
The Gradle team is excited to announce Gradle 7.6.
JVM: Added Support for Java 19, Introduced strongly-typed dependencies block for JVM test suites, Added support for Java Toolchain downloads from arbitrary repositories, Added support for incremental compilation following a compilation failure, Introduced support for Java 9+ network debugging, Revised dependencies generated from init Maven conversions from implementation to api
General Improvements: Introduced flag for individual task rerun, Relocated convention plugins in projects generated with init, Introduced network timeout configuration for wrapper download, Introduced ability to explain why a task was skipped with a message
Dependency Management: Clarified the ordering of disambiguation rule checks in resolvableConfigurations reports, Configuration Cache, Improved configuration cache failure recovery, Extended configuration cache task compatibility, Added configuration cache support to the Maven Publish Plugin, Improved handling of --offline option,
Plugin Development: Introduced support for task options of type Integer
IDE Integration: Enhanced test events to distinguish between assertion and framework failures, Introduced TestLauncher task execution, Introduced class, method, package, and pattern test selection via TestLauncher, Added support for passing system properties to the build with the Tooling API
7.5.105 Aug 2022 22:52
minor bugfix:
The Gradle team is excited to announce Gradle 7.5.1.
This is the first patch release for Gradle 7.5.
It fixes the following issues:
#21269 JavaVersion.VERSION_18 is still marked @Incubating
#21301 NullPointerException when passing certain types of config properties to Checkstyle
#21346 Finalizers of finalizers no longer execute when upstream task fails
#21353 CheckStyle fails because it has no javaLauncher configured
#21365 Update upgrading guide to warn about change in Checkstyle working directory
#21374 Storing a task property set to a ValueSource provider with ValueSourceParameters.None parameter type into configuration cache fails
#21399 Gradle 7.5 Javadoc plugin is broken for multi-module aggregation (due to setting --source-path)
#21400 Scala compilation fails with 'rt.jar (class sbt.internal.inc.DummyVirtualFile) is not supported'
We recommend users upgrade to 7.5.1 instead of 7.5.
7.517 Jul 2022 08:29
major feature:
The Gradle team is excited to announce Gradle 7.5.
This release includes building code and running Gradle with Java 18, building code with Groovy 4, much more responsive continuous builds, improved diagnostics for dependency resolution, as well as configuration cache improvements for better performance, Adoptium toolchain provisioning for JVM, and more.
7.3.322 Dec 2021 14:00
minor bugfix:
This is a patch release for Gradle 7.3.
It fixes the following issues:
#19360 Upgrade checks to Log4j 2.17.0
We recommend users upgrade to 7.3.3 instead of 7.3.
Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.
7.3.215 Dec 2021 19:44
minor bugfix:
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.
7.3.101 Dec 2021 16:39
minor bugfix:
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.
7.311 Nov 2021 21:38
major feature:
The Gradle team is excited to announce Gradle 7.3.
This release introduces a declarative test suite API for JVM projects, adds support for building projects with Java 17, and updates the Scala plugin to support Scala 3.
There are also changes to make builds more reliable, provide additional details to IDEs when downloading dependencies, improve untracked files in custom plugins, several bug fixes and more.
7.217 Aug 2021 21:28
major feature:
The Gradle team is excited to announce Gradle 7.2.
This release adds several usability improvements, such as toolchain support for Scala projects, and improves build cache hits between operating systems.
There are also changes to make the remote HTTP build cache more resilient when encountering problems and several bug fixes .
7.1.103 Jul 2021 19:47
minor bugfix:
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.
7.114 Jun 2021 21:33
major feature:
The Gradle team is excited to announce Gradle 7.1.
This release revamps incremental Java compilation and makes it easier to configure Groovy, Scala and Antlr sourcesets in Kotlin DSL.
There are also several new deprecations and small improvements to make Gradle easier to use.
7.0.215 May 2021 16:02
minor feature:
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.
7.010 Apr 2021 18:50
major feature:
The Gradle team is excited to announce a new major version of Gradle, 7.0.
This release enables file system watching by default to make your incremental builds faster, expands support for building projects with Java 16, and adds support for building on Macs using Apple Silicon processors (such as M1).
This release also introduces a feature preview for centralized dependency versions, enables build validation errors to make your builds more reliable, and makes it easier to create convention plugins for settings files. Many incubating features have been promoted to stable.
6.8.322 Feb 2021 17:18
minor feature:
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.
Please don t use the original 6.8 release or previous patch releases, and instead upgrade to 6.8.3.
6.8.207 Feb 2021 22:58
minor feature:
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
https://github.com/gradle/gradle/milestone/170?closed=1
Please don t use the original 6.8 release or the 6.8.1, and instead upgrade to 6.8.2.
6.8.124 Jan 2021 19:50
minor feature:
This is a patch release for Gradle 6.8.
This fixes several critical bugs in Gradle 6.8.
We recommend that you use Gradle 6.8.1 over the initial release of Gradle 6.8.
6.824 Jan 2021 19:50
major feature:
The Gradle team is excited to announce Gradle 6.8.
6.7.118 Nov 2020 12:03
minor feature:
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:
https://github.com/gradle/gradle/milestone/160?closed=1
We recommend that you use Gradle 6.7.1 over the initial release of Gradle 6.7.
6.714 Oct 2020 18:20
major feature:
The Gradle team is excited to announce Gradle 6.7.
This release continues on the series of performance improvements, particularly for incremental builds. File system watching introduced in Gradle 6.5 is now ready for production use. You can expect up to 20 build speed improvements in large projects after turning this feature on. Additionally, the experimental configuration cache has been improved to make troubleshooting easier for early adopters.
This release introduces Java toolchain support that makes it much easier to build JVM projects using a different version of Java than the one Gradle is running on. Starting with this release, Gradle itself can also run on Java 15.
New dependency management features in this release include support for compile only API dependencies, the ability to ignore selected dependencies in dependency locking and version ranges in repository content filtering.
This release also includes several general improvements including improved gradle init task, better documentation and new samples.
6.6.125 Aug 2020 19:14
minor bugfix:
This is a patch release for Gradle 6.6.
This fixes several critical bugs in Gradle 6.6.
We recommend that you use Gradle 6.6.1 over the initial release of Gradle 6.6.
6.611 Aug 2020 08:56
major feature:
The Gradle team is excited to announce Gradle 6.6.
This release introduces a major performance optimization as an experimental opt-in. Configuration caching allows Gradle to skip the configuration phase of the build and start executing tasks as soon as possible.
Other improvements in this release include conventions for handling user-provided credentials, support for Java compilation --release flag, and a number of other improvements and bug fixes.
6.5.101 Jul 2020 09:13
minor bugfix:
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.
6.506 Jun 2020 15:28
major feature:
The Gradle team is excited to announce Gradle 6.5.
This release includes an experimental opt-in for the file-system watching feature that significantly improves build times, particularly in incremental scenarios. This is the first in a series of major improvements in the area planned over the course of several upcoming releases.
There are also several other improvements including a better version ordering, new samples and many bug fixes. This release also contains an important security fix for builds that sign artifacts.
6.4.118 May 2020 04:31
minor feature:
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
6.405 May 2020 20:54
minor feature:
The Gradle team is excited to announce Gradle 6.4.
This release features highly anticipated support for building and testing Java Modules, precompiled Groovy DSL script plugins for better build logic organization, and a single lock file per project resulting in fewer lock files in projects using dependency locking.
6.325 Mar 2020 14:45
major bugfix:
The Gradle team is excited to announce Gradle 6.3.
6.2.205 Mar 2020 08:41
major bugfix:
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
We recommend that you use Gradle 6.2.2 over the initial release of Gradle 6.2.
6.2.125 Feb 2020 09:48
minor bugfix:
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.
6.217 Feb 2020 12:20
major feature:
The Gradle team is excited to announce Gradle 6.2.
This release adds built-in dependency checksum and signature verification, provides a shareable read-only dependency cache and emits helpful documentation links when you have deprecations in your build.
6.1.127 Jan 2020 18:33
major feature:
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
6.008 Nov 2019 19:42
major feature:
The Gradle team is excited to announce a new major version of Gradle, 6.0.
A major highlight of this release is the vastly improved feature set in dependency management. Some of the features were released in stages, but with Gradle 6.0 they are stable and production ready. We publish Gradle Module Metadata by default, which makes these new features available between projects and binary dependencies.
In the JVM ecosystem, we've made incremental Java and Groovy compilation faster, added support for JDK13 and provided out of the box support for javadoc and source jars. For Scala projects, we've updated the Zinc compiler and made it easier to select which version of Zinc to use.
For Gradle plugin authors, we've added new APIs to make it easier to lazily connect tasks and properties together, made useful services available to worker API actions and Gradle will complain at runtime if a task appears misconfigured.
In the native ecosystem, we've added support for Visual Studio 2019 and the latest C++ standards.
This release contains some updates to help protect the integrity and security of your build.
As always, we also incorporated some smaller changes and many other fixed issues.
5.6.318 Oct 2019 14:30
minor bugfix:
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 #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.
5.6.206 Sep 2019 18:37
minor bugfix:
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.
5.6.128 Aug 2019 09:03
minor bugfix:
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)
Regression in 5.6 signArchives (Duplicate key) (#10302)
Regression setting version for ArchiveTasks in 5.6 (#10311)
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork (#10317)
DirectoryFileTree breaks SourceTask since 5.6 (#10322)
Regression: Unable to pass java.util.Properties object using Worker API in Gradle 5.6 (#10323)
Unable to publish multiple publications with same coordinates (#10333)
Gradle 5.6 - RuntimeException: Unable to load FastStringService (#10347)
We recommend that you use Gradle 5.6.1 over 5.6.
5.615 Aug 2019 12:28
minor bugfix:
The Gradle team is excited to announce Gradle 5.6.
This release also contains an important security fix affecting some users: https://github.com/gradle/gradle/security/advisories/GHSA-4cwg-f7qc-6r95
This is the final minor release for Gradle 5.x. Read the release notes: https://docs.gradle.org/5.6/release-notes.html
5.5.111 Jul 2019 13:56
minor bugfix:
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.
5.501 Jul 2019 07:04
minor bugfix:
This release features improvements to build init to generate plugin projects, an API for transforming dependency artifacts, the ability to declare organization-wide Gradle properties, lots of new native plugin documentation and more.
5.4.125 May 2019 08:07
minor bugfix:
This bug-fix release contains two changes to Gradle 5.4:
Fix inconsistent classpath ordering when dependencies have lots of excludes - #9197
Kotlin DSL IDEA script editor can't find JDK classes with Gradle 5.4 if Gradle JVM != Project SDK - #9195
We recommend that you use Gradle 5.4.1 over 5.4.
5.3.101 Apr 2019 07:39
major feature:
This bug-fix release contains several changes to Gradle 5.3, notably:
Unable to use java-platform and maven-publish in multi-project: #8845
Unexpected exception when adding a plugin on buildSrc compile classpath: gradle/kotlin-dsl#1363
We recommend that you use Gradle 5.3.1 over 5.3.
5.2.126 Feb 2019 09:59
major feature:
This bug-fix release contains several changes to Gradle 5.2, notably:
Checkstyle issues with a single source file: #8394
BOM support conflicts: #8420
We recommend that you use Gradle 5.2.1 over 5.2.
5.1.111 Jan 2019 13:36
major feature:
This bug-fix release contains several changes to Gradle 5.1, notably:
A daemon memory leak affecting all projects #8142
Incremental Java compilation #8194
A fix to Gradle's generated Javadoc in 5.1 #8183
We recommend that you use Gradle 5.1.1 over 5.1.
5.001 Dec 2018 20:52
major feature:
The Gradle team is excited to announce Gradle 5.0.
This release features a production-ready Kotlin DSL, dependency version alignment (similar to and usable with Maven BOMs), task timeouts, Java 11 support, and more.
4.10.219 Sep 2018 20:12
minor bugfix:
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.
4.10.115 Sep 2018 18:28
major feature:
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.
4.1001 Sep 2018 20:29
major feature:
First and foremost, this release of Gradle features an improved incremental Java compiler, now enabled 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 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. 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 for guidance on trying the Kotlin DSL and submitting feedback.
You can now use SNAPSHOT plugin versions with the plugins 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 for contributing.
Last but not least, included builds can now be nested. This makes some common workflows more convenient, such as working on multiple source repositories at the same time to implement a cross-cutting feature.
4.903 Aug 2018 06:39
major feature:
#5772 - Build operations for task registration/creation are emitted by default
#5771 - Gradle 4.8+ fails with NotSerializableException on Intellij IDEA project import
#5750 - Default "**/*.java" include filter added to Java compilation tasks in Gradle 4.8
#5724 - Gradle Includes Vulnerable XercesImpl Jar. Upgrade when patched version available on Maven Central.
#5714 - Do not compile or execute a build script when there is a failure building the build script classpath
#5646 - Creating a task inside configureEach causes CME
#5638 - Remove @Incubating annotations from publishing types
#5583 - Project configuration build operations are no longer nested
#5565 - Enable injection of RepositoryResourceAccessor in ComponentMetadataRule
#5541 - Reduce memory used in FileUtils#calculateRoots
#5526 - Add caching support to ComponentMetadataRule
#5505 - gradle distribution depends on jackson-databind version 2.8.11 which has insecure deserialization vulnerability (CVE-2018-5968)
#5473 - Allow an included build to use file collection dependencies
#5379 - Broken link in docs despite looking correct in adoc
#5311 - Introduce Publishing chapter in User Guide
#5305 - TestWorker fails to catch SecurityException when calling System.setSecurityManager
#5278 - ClassCastException when generating Eclipse files for Gradle
#5207 - Why do javadoc tasks of depending projects depend on each other?
#5091 - Removing project .gradle directory disproportionately degrades buildSrc performance
#4960 - Recompile instead of failing when annotation processors violate the incremental contract
#4895 - Included build failure does not break the build
#4506 - Gradle Test Kit functional tests fail in an unrecoverable way
#4370 - Composite build failures are reported incorrectly for dependency on different subprojects of an included build
#3490 - A failure in an included build should be reported at the end of logging output
#1743 - The application plugin's "ru