Slackbot
08/09/2022, 12:32 AMnisse
08/09/2022, 7:41 AM-Dorg.gradle.caching.debug=true
? My problem is the compiled code gets a different checksum, but yours may just be a property or path that you overlookedInaki Villar
08/09/2022, 2:40 PMDavid Chang
08/09/2022, 4:19 PMDavid Chang
08/09/2022, 4:20 PMResulting cache key aa8faf2680554bff91a31a63dcb6ea3e 0941a279cfa4845c5fcd0bb1350d20e2
Inaki Villar
08/09/2022, 6:11 PMKaptGenerateStubsTask
), then I would say some of the configuration in CI is adding a different file property like BuildNumber or similar that is considered in the key calculationDavid Chang
08/09/2022, 6:49 PMorg.jetbrains.kotlin.gradle.tasks.InspectClassesForMultiModuleIC
which uses an absolute pathDavid Chang
08/09/2022, 6:50 PMNormalization: Absolute path, ignored empty directories, non-normalized line endings
build A: /home/changd/code/android/gradle/gradle-plugin/plugin/build/classes/kotlin/main
build B: /Users/changd/code/android/gradle/gradle-plugin/plugin/build/classes/kotlin/main
David Chang
08/09/2022, 7:39 PMDavid Chang
08/09/2022, 7:47 PMDavid Chang
08/09/2022, 7:48 PMDavid Chang
08/09/2022, 7:56 PMInaki Villar
08/09/2022, 8:15 PMInspectClassesForMultiModuleIC
, what about more expensive tasks like KaptGenerateStubsTask
or KotlinCompileWithWorkers
? I'm mentioning because the InspectClasses tasks usually are quite fast in terms of execution(< 1/2sec) and the original issue you pointed showed differences of classpath for Kotlin compiler/Kapt tasksDavid Chang
08/09/2022, 8:16 PM@get:Classpath
for the input fieldsDavid Chang
08/09/2022, 8:17 PMInspectClassesForMultiModuleIC
is causing that initial chain reactionDavid Chang
08/09/2022, 8:18 PMDavid Chang
08/09/2022, 8:19 PM