[build-tools] Cache Gradle file access time journal with the build cache (#4221)