This message was deleted.
# configuration-cache
s
This message was deleted.
🧵 1
c
I was able to work around it so far by setting imageId based off the output imageIdFile
Copy code
imageId.set(imageIdFile.map { RegularFile it ->
    File file = it.asFile
    if(file.exists()) {
        return file.text
    }
    return null
})
But I’m not sure if this approach is the best one
v
A task can only have defined fine outputs, hence this trickery with the
imageIdFile
and
imageId
. But I actually wonder how CC should influence this, as
imageId
is an execution time thing. It is set during execution or during
outputs.upTpDateWhen
such both run after the cache configuration phase.