commit | f07d44cc517a627c362a290197cc744549c33546 | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <[email protected]> | Thu Dec 07 07:08:53 2023 -0800 |
committer | Aurimas Liutikas <[email protected]> | Thu Dec 07 07:08:53 2023 -0800 |
tree | ea124444d22c7f8c4c5941271566f2a0839a5a6f | |
parent | 1245a69275b92e64ede23f7c81eef0dfe1f3b828 [diff] [blame] |
Strip timestamps from :buildSrc:jetpad-integration:jar When looking through build scans I found that there was always a cache miss for the transform on this jar e.g. https://ge.androidx.dev/s/th2hhqgee2yqy/performance/build-cache?anchor=eyJpZCI6InJlbW90ZS1taXNzIn0&cacheDetails=remote-miss Turns out it is because this is the only project in buildSrc that does not apply shared.gradle. Test: ./gradlew -p buildSrc jetpad-integration:jar -> jar has no timestamps anymore Change-Id: I1c9ef7315559b8c85d0a1d310e0d819b738eab3b
diff --git a/buildSrc/shared.gradle b/buildSrc/shared.gradle index 0c85b7a..b135cf6 100644 --- a/buildSrc/shared.gradle +++ b/buildSrc/shared.gradle
@@ -26,7 +26,7 @@ targetCompatibility = JavaVersion.VERSION_17 } -project.tasks.withType(Jar) { task -> +project.tasks.withType(Jar).configureEach { task -> task.reproducibleFileOrder = true task.preserveFileTimestamps = false }