Martin
09/07/2024, 4:28 PM// How do I do this?
val file = task.outputs.getByName("fooBarOutput")Martin
09/07/2024, 4:49 PMVampire
09/07/2024, 4:52 PMMartin
09/07/2024, 4:55 PMtaskProvider.map { fooBarOutput }Martin
09/07/2024, 4:55 PMfiles.filter {} and filtering based on the name which works too but feels a bit weird)Vampire
09/07/2024, 4:56 PMflatMap would also not help, as flatMap looses the task dependency of the provider you call it onMartin
09/07/2024, 4:56 PMmap , sorry I always get confused 😅 )Vampire
09/07/2024, 4:57 PM@Nested where some bug is afair, it should just work.Vampire
09/07/2024, 4:57 PMmap on the task also will work fine if it is not a proper output property. That is then not a hack, but the idiomatic way to goMartin
09/07/2024, 4:59 PM