Slackbot
12/06/2022, 5:30 PMVampire
12/06/2022, 5:44 PMcopyTaskProvider.map { layout.dir(provider { it.destinationDir }).get() }
Vampire
12/06/2022, 5:48 PMAdrian
12/06/2022, 5:51 PMlayout.dir(copyTaskProvider.map { it.destinationDir })
Adrian
12/06/2022, 5:52 PMVampire
12/06/2022, 5:53 PMAdrian
12/06/2022, 5:55 PMVampire
12/06/2022, 5:56 PMlayout.dir
this dependency is not "copied" over but breaks the dependencyVampire
12/06/2022, 5:57 PMcopyTaskProvider.flatMap { layout.dir(provider { it.destinationDir }) }
Vampire
12/06/2022, 5:57 PMflatMap
the outer provider is replaced by the inner provider and the inner provider has no task dependencyAdrian
12/06/2022, 6:01 PMTaskProvider
implementation or documentation?Vampire
12/06/2022, 6:04 PMAdrian
12/06/2022, 6:04 PMVampire
12/06/2022, 6:04 PMVampire
12/06/2022, 6:04 PMProviderInternal
or something along those linesAdrian
12/06/2022, 6:10 PMThe task provider carries the dependency.
But withthis dependency is not “copied” over but breaks the dependencylayout.dir