Rohit Krishnan
04/24/2025, 9:01 PM~/.gradle/cache, it ends up skipping tests when running ./gradlew testDevDebugUnitTest for an Android project (even though I did make changes to one of the gradle modules). The folders i'm caching are 8.10.2, build-cache-1, jars-9, and modules-2. Is this the expected behavior when caching this across runs on Github? (It's the same task and the same CI runner).
Looking at logs, it says Task :features:nameOfFeature:testDevDebugUnitTest FROM-CACHE .TrevJonez
04/24/2025, 9:24 PMVampire
04/24/2025, 10:05 PMVampire
04/24/2025, 10:07 PM-Dorg.gradle.caching.debug=true you get more information about how the cache key is built and why it might not have changed as expectedRohit Krishnan
04/24/2025, 10:08 PMTrevJonez
04/25/2025, 1:28 PMVampire
04/25/2025, 1:29 PMVampire
04/25/2025, 1:29 PM@CompileClasspath as only the public API is relevantVampire
04/25/2025, 1:30 PM@Classpath which eradicates some irrelevant things like timestamps in the jars and so on, but for running the implementation is relevant so should not be ignoredVampire
04/25/2025, 1:31 PMTrevJonez
04/25/2025, 1:32 PMRohit Krishnan
04/25/2025, 1:36 PM