Making buildSrc.jar be consistent across rebuilds

This makes it easy to identify whether buildSrc.jar has changed in a meaningful way across builds, which makes it easier to identify whether a change in buildSrc.jar is the cause of the compileKotlin tasks being out-of-date

This doesn't seem to affect the up-to-datedness of tasks directly, however, because Gradle already ignores timestamps in .jar files when comparing them

Bug: 140266262

Change-Id: I5fea351c87e1341f14c460ed5d205123110c0ba1
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index b898202..d87abcba 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -167,3 +167,8 @@
 loadConfigurationQuicklyInto(configurations.cacheableApi, configurations.api)
 loadConfigurationQuicklyInto(configurations.cacheableImplementation, configurations.implementation)
 loadConfigurationQuicklyInto(configurations.cacheableRuntime, configurations.runtime)
+
+project.tasks.withType(Jar) { task ->
+    task.reproducibleFileOrder = true
+    task.preserveFileTimestamps = false
+}