Provide a way to influence build comparisons

Provide a way to influence build comparisons. e. g. when comparing source JARs here, I have differences that are caused by the generator (which I cannot influence) writing the generation timestamp into the files it generates. I’d like to somehow pre-process the compared entries before they are compared. A possiblitiy would be to provide some was to specify a pattern for which entries the pre-processing should be done and then apply the transformation to those entries. This means a change of the comparison method of course as currently only the CRC values stored in the ZIP file are compared. So for making this possible, I guess Gradle should compare the content itself and at this moment provide the possiblility to hook into the process and do some pre-processing.