Tuesday , January 26 2021

Update to JVM-based build tool also features improved version dependency ordering

Gradle 6.5 adds file system watching to improve build times

By

Editor at Large,

InfoWorld |

Gradle 6.5, the latest version of the popular JVM-based build management tool, has been introduced with an experimental file system watching capability designed to improve build times.

With the opt-in file system watching enabled, Gradle 6.5 can keep what it has learned about the file system in memory between builds rather than polling the system on each build. This optimization substantially reduces the disk I/O necessary to determine changes since the previous build. Users can enable file system watching by using the parameter, --watch-fs on the command line.

File system watching will be enabled by default in a future Gradle release. The feature currently has some limitations including a lack of performance benefits for locations with symlinks and a lack of support for SUBST and network drives on Windows.

To switch to Gradle 6.5, developers can update their wrapper:

./gradlew wrapper --gradle-version=6.5

Other new capabilities in Gradle 6.5 include:

Gradle is perhaps best known as the official build tool for Android mobile applications, but it is a general purpose build tool that be used for projects based on JVM languages such as Java and Kotlin or non-JVM languages such as C++, Python, and Swift.

This story, “Gradle 6.5 adds file system watching to improve build times” was originally published by

InfoWorld.

Paul Krill is an editor at large at InfoWorld, whose coverage focuses on application development.

Copyright © 2020 IDG Communications, Inc.

This Article was first published on itnews.com

About IT News Ug

Check Also

Apple sets scene for 5G ‘for the rest of us’

A string of Apple-focused mobile network promotions suggest the company's 5G plan is now in play.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

//stawhoph.com/afu.php?zoneid=2572107