
The most recent version of the well-known software build tool used in Android development and other areas, Gradle 7.0, provides support for Java 16 and faster incremental builds.
To speed up incremental builds, file system watching is now enabled by default in the Gradle 7.0 version, which was released on April 9. Gradle 6.5 offered the functionality as an opt-in feature, and Gradle 6.7 declared it production-ready.
When file system watching is enabled, Gradle keeps its knowledge of the file system in memory between builds instead of reading it during each build. The input and output files are examined during an incremental build to determine what needs to be rebuilt. The I/O overhead added by this capability, which typically saves a significant amount of time but also adds some, can be felt in large projects when little has changed since the previous build.

To upgrade to Gradle 7.0, developers can update their wrapper:
./gradlew wrapper --gradle-version=7.0
Developers can access the Gradle upgrade guide and compatibility notes to learn about breaking changes, deprecations, and other considerations.
Also in Gradle 7.0:
- For Android, performance has been improved for incremental changes in projects, especially those using the Jetifer tool to migrate libraries.
- Gradle now supports running on and building with Java 16, or Java Development Kit (JDK) 16, which was released on March 16. To support JDK 16, Gradle has been upgraded to use the Groovy 3 language in Groovy DSL build scripts.
- Native support is offered for Apple Silicon systems, with every feature now supported using a native Arm JDK. Previous Gradle versions could run on Apple Silicon Macs but there were disadvantages, such as some Arm JDK features had to be disabled while an Intel JDK would run at about half speed through the Rosetta2 compatibility layer.
- Version catalogs are introduced as an experimental capability, enabling build authors to centralize dependency coordinates (group, artifact, versions) of their third-party dependencies in a conventional configuration file and declare dependencies in a type-safe way.
- An experimental feature for project assessors provides type safety and enables code completion in IDEs.
- Build reliability improvements have been made, such as now executing a task without the benefit of parallel execution if a task is failing input/output validation.
- Dependency locking, a mechanism to ensure reproducible builds when using dynamic dependency versions, has been improved. The release defaults to the improved dependency locking file format that results in fewer lock files in most projects.
Keep Reading
WhatsApp is finally addressing one of the biggest gaps in its web client, as WhatsApp Web now supports audio and video calls. This requires no download or installation, since it’s built directly into WhatsApp Web, which has also picked up support for screen sharing, reactions, and a dedicated Calls tab showing full call history and […]

While the Pixel 9 lineup is still fresh, with its Tensor G4 chip and sleek hardware, new reports are already surfacing about the Pixel 10 and Pixel 11. For anyone who held off on the Pixel 9 series hoping for a bigger internal upgrade from Google, there may be good news on the horizon. Google […]

Practically every streaming service not named Netflix has turned to bundling over the past few years, with competitors teaming up to deliver combo packs like Disney+ and HBO Max. No service has been bundled quite as often as Peacock, though, and YouTube Premium subscribers are now joining the long list of ways to gain access […]

The invites for Google’s Pixel event just landed, and the leaks have already laid out a stacked rundown of the Google Pixel 11 and Tensor G6. Tech forums have already made up their minds. Going by the leaks, the G6 looks like a regression. The G6 comes up short on CPU cores, and its graphics […]
Google is set to unveil the Pixel 11 family on August 12, and just ahead of that event, the company’s VP of Devices and Services, Shakil Barkat, has confirmed what many were expecting: prices are going up across the lineup. Google Confirms Pixel Price Adjustments Barkat explained that, like other consumer tech companies, Google is […]
Google released its first official Pixel 11 Pro teaser today, confirming a gold finish and giving the clearest look yet at Pixel Glow – the light-up feature Google is betting on to differentiate itself from rivals like the iPhone 17 Pro Max. The Made by Google event is set for August 12. What Google actually […]






Comments & Discussions
Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.