Slackbot
05/03/2023, 11:06 PMVampire
05/03/2023, 11:10 PMVampire
05/03/2023, 11:10 PMString
, you need to calculate that string at configuration time.Vampire
05/03/2023, 11:11 PMProperty<String>
, it would be calculated at configuration time, as provider values of tasks are realized and written to configuration cache when storing the CC entry afair.Tomáš Procházka
05/03/2023, 11:15 PMTomáš Procházka
05/03/2023, 11:16 PMVampire
05/03/2023, 11:16 PMTomáš Procházka
05/03/2023, 11:21 PM3rdPartyTaskProvider.configure {
inputText.set(project.providers.fileContents(xyz).getAstext())
}
Tomáš Procházka
05/03/2023, 11:24 PMIf that 3rd Party task needs aAnd this is allowed? It basically depend just on the setup inside of build.gradle file. I mean this input string. So it can be serialized inside of configuration cache., you need to calculate that string at configuration time.String
Tomáš Procházka
05/03/2023, 11:27 PMVampire
05/03/2023, 11:27 PMTomáš Procházka
05/03/2023, 11:29 PMconfigure {}
, yes this should work.Tomáš Procházka
05/03/2023, 11:30 PMTomáš Procházka
05/03/2023, 11:47 PM