Hello, I have a Tar task which is attached below. ...
# caching
r
Hello, I have a Tar task which is attached below. Using
-Dorg.gradle.caching.debug=true
I can see that two invocations of the task are processing the same files, each with an identical fingerprint between executions. However,
Appending input file fingerprints for '$1' to build cache key
still outputs a different fingerprint per execution. Any idea how I can debug this further? The tarred file paths are not considered for fingerprinting right? I can attach the logs as well, though they might be largish. Thanks Tar task:
Copy code
task srcTar(type: Tar) {
    inputs.files(project.fileTree(".") {
        include "src/main/**"
    })
    outputs.file(includesTarFile)
    outputs.cacheIf { true }
    from projectDir
    getArchiveFileName().set(tarArchiveFileName)
    include "src/**/*"
}
(Gradle 7.6).