Hi all,
Just performed a test to detect changes so we can decide whether something
has changed in a source / resource directory.

What I tested was the following compute SHA of a directory based on all
files in that directory:

absolute file path + last modified date + file content.

On the Gradle source / resource directories this comes down to the
following:

gradle-0.5.2\src\main\groovy : 7a5160bffe95f236dfceb2ac3d1609a747eb132c
gradle-0.5.2\src\main\resources : de37bc2b812b9116b400e3708a0a19524fb2aed8
gradle-0.5.2\src\test\groovy : 7f49b3276ef4b60b42d5880dad4367470bc64a75
gradle-0.5.2\src\test\resources : 7915e5a3449a5584dbafc542a3f9abda687da783

time taken: PT0.797S

I think this is fast enough.

Kr,

Tom

Reply via email to