gmarques
02/11/2021, 3:54 PMktlintCheck
task is always different between our CI (Linux) and my machine (MacOS) for the exact same code. What could be causing this?jlleitschuh
02/11/2021, 3:55 PMgmarques
02/11/2021, 3:56 PMAppending input file fingerprints for 'discoveredErrors$ktlint_gradle' to build cache key: 758cd5c67af412c72c6b2eb331c92fa9 - RELATIVE_PATH{/Users/gmarques/src/MyApp/sales/mymodule/build/intermediates/ktLint/runKtlintCheckOverMainSourceSet_errors.bin='runKtlintCheckOverMainSourceSet_errors.bin' / e4fee4318f3389e068064bc7f80f9aa7}
but in the CI I get
[15:36:36]: ▸ Appending input file fingerprints for 'discoveredErrors$ktlint_gradle' to build cache key: 7e8dc88fde34693592989787f2e10de8 - RELATIVE_PATH{/usr/share/app/build/workspace/MyApp/sales/mymodule/build/intermediates/ktLint/runKtlintCheckOverMainSourceSet_errors.bin='runKtlintCheckOverMainSourceSet_errors.bin' / 34fc08bed3a3cc1b5302626ec0aa2330}
jlleitschuh
02/11/2021, 3:57 PMgmarques
02/11/2021, 3:57 PMtapchicoma
02/11/2021, 3:57 PMgmarques
02/11/2021, 3:57 PMjlleitschuh
02/11/2021, 3:58 PMtapchicoma
02/11/2021, 3:59 PMdicoveredErrors
are annotated with @get:PathSensitive(PathSensitivity.RELATIVE)
gmarques
02/11/2021, 3:59 PMjlleitschuh
02/11/2021, 4:00 PMgmarques
02/11/2021, 4:00 PMtapchicoma
02/11/2021, 4:01 PMtapchicoma
02/11/2021, 4:01 PMdiscoveredErrors
is only present in 10.0.0
releasegmarques
02/11/2021, 4:03 PMgmarques
02/11/2021, 4:04 PMtapchicoma
02/11/2021, 4:05 PMgmarques
02/11/2021, 4:07 PMtapchicoma
02/11/2021, 4:11 PMgmarques
02/11/2021, 4:13 PMtapchicoma
02/11/2021, 4:15 PMjlleitschuh
02/11/2021, 4:19 PMjlleitschuh
02/12/2021, 5:18 PMgmarques
02/12/2021, 5:19 PMktlint {
version = "0.39.0"
android = true
coloredOutput = false
disabledRules = ["import-ordering"]
reporters {
reporter "plain"
}
}
jlleitschuh
02/12/2021, 5:23 PMjlleitschuh
02/12/2021, 5:37 PMjlleitschuh
02/12/2021, 5:47 PMjlleitschuh
02/12/2021, 5:47 PMjlleitschuh
02/12/2021, 5:50 PMLoadReportersTaskView
contains the following:
modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar=IGNORED / a33ff568817ec6a464a849923273e713,
While the version from CI contains the following:
modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar=IGNORED / 1d02e95063e812b858bcfbe19f5766cf,
Same JAR file, different hashes.tapchicoma
02/12/2021, 7:38 PMjlleitschuh
02/14/2021, 11:50 PMjlleitschuh
02/15/2021, 2:32 PM