Open Bug 2016573 Opened 14 hours ago Updated 14 hours ago

Gradle Configuration Cache is invalidated on any change within `topobjdir`

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: ahochheiden, Assigned: ahochheiden)

Details

Attachments

(1 file)

STR:

Run ./mach gradle help twice, observe that on the second run:

$ ./mach gradle help
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8
Configuration on demand is an incubating feature.
Reusing configuration cache.

Config cache is reused.

Add any file or folder to the topobjdir.

Run ./mach gradle help`

$ ./mach gradle help
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8
Configuration on demand is an incubating feature.
Calculating task graph as configuration cache cannot be reused because directory 'objdir-frontend' has changed.

The Gradle configuration cache should not be invalidated on any change in the topobjdir, only very specific changes.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: