Slackbot
01/22/2024, 4:29 PMThomas Broyer
01/22/2024, 4:34 PMPeter Desjardins
01/22/2024, 4:39 PMPeter Desjardins
01/22/2024, 4:39 PMJavi
01/22/2024, 4:42 PM@UntrackedTaskPeter Desjardins
01/22/2024, 4:48 PMFileTree?ephemient
01/22/2024, 4:49 PMhave never explicitly declared inputs and outputs😲
Can you suggest a way to declare the inputit is definitely easier with a custom task class?FileTree
ephemient
01/22/2024, 4:50 PMTaskInputs ad-hoc might work but the interface is very limited in what you can describePeter Desjardins
01/22/2024, 4:54 PMephemient
01/22/2024, 4:58 PMPeter Desjardins
01/22/2024, 5:06 PMfile.name in the println for each iteration cause Gradle to run the task?ephemient
01/22/2024, 5:11 PMephemient
01/22/2024, 5:13 PMPeter Desjardins
01/22/2024, 5:15 PMif you wire up the inputs and outputs as recommended in the Gradle documentation, then Gradle will understand the task dependencies implicitlyThank you! I appreciate the pointer here. I'll see if I can prototype a build that declares inputs and outputs explicitly, and does not rely completely on task dependencies.
Vampire
01/22/2024, 5:28 PM