Should `ConfigurableFileCollection` properties be ...
# plugin-development
t
Should
ConfigurableFileCollection
properties be initialized with
.convention()
or
.from()
? What do you think? (I initially went with
.convention()
, but when the conventional value is a bit convoluted to compute –a file in the output of the
processResources
task– it's asking too much to the users if they just want to add to the file collection, while on the other hand if initialized with
.from()
and they don't want that value they can
.setFrom()
to reinitialize it; what would be the use cases for
.convention()
then?)