Can Gradle use timestamp instead of hash to check if a file has changed?

I am working on a large project with a lot of files and I wonder if Gradle could start compiling earlier if it was to use file timestamp instead of hashes.

1/ Is there a parameter i can set to test if this intuition is right?
2/ If there is no parameter to do that, does anybody has pointer on where hashing takes place in the source so I can experiment?

It already does. If the timestamp and length hasn’t changed, we don’t re-hash.

I’d recommend using build scans and the gradle-profiler to find out why your project takes a long time to start “doing things”.