This message was deleted.
# configuration-cache
s
This message was deleted.
z
a bit more context - I use a bunch of Gradle properties to lookup a series of APKs (that are already externally built), and run these files as inputs to a
Sync
task into another directory
Because I can’t get a
RegularFile
from a
String
out of the
ValueSource
API - I’m using the
String
s from these gradle properties as input to the
Sync
task instead of the files themselves. I don’t know why, but when I re-use the config cache and I manually delete the input or output files, the
Sync
task skips execution due to
NO-SOURCE
. This only happens when the config cache is re-used. The inputs to the
Sync
task are still the same
String
values (as the gradle properties that create that
String
value have not changed, but the input files are deleted. Additionally, manually deleting the output (
into(..)
) folder of the
Sync
task has the
NO-SOURCE
problem too.
t
smells like you shouldn't be using a value source to represent a file and the api's being difficult is the right thing here. Should prob be an
@Classpath
or
@InputFile
maybe just my hot take on what I am reading.