tony
05/27/2022, 7:29 PM@Transient
@get:PathSensitive(PathSensitivity.RELATIVE)
@get:InputFiles
lateinit var projectHealthReports: Configuration
Specifically, I've added @Transient
so that Gradle doesn't serialize the Configuration
instance. For input hashing, I want it to treat the property as a collection of files, but in the task action I use APIs only available on Configuration
tony
05/27/2022, 7:31 PMgrossws
05/27/2022, 9:04 PMConfigurableFileCollection#from(Configuration)
?tony
05/27/2022, 10:52 PMConfiguration
for this use-case. FileCollection
isn't sufficient.grossws
05/28/2022, 5:06 PMtony
05/28/2022, 6:43 PM