Gradle is an open-source build automation tool focused on flexibility and performance. Gradle build scripts are written using a Groovy or Kotlin DSL.
4.10.219 Sep 2018 20:12
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
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
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
#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