Jeff Lockhart07/20/2022, 12:23 AM
when it's executed from the
But I don't want to modify this task, or append the additional definitions when it's executed from any other task tree:
iosX64Test +--- ... +--- generateDefCocoaPodsLib | +--- ... +--- ...
assemble +--- ... | +--- generateDefCocoaPodsLib | | +--- ... | +--- ... +--- ...
Vampire07/20/2022, 8:42 AM
. If you do
./gradlew iosX64Test assemble
is executed just once. If you need it with different results, you should probably create a second task with a different configuration, so that test and production use different tasks, but the question is, whether the right thing is tested then. But I'm not familiar with native development, so I might not get something right.
Jeff Lockhart07/20/2022, 1:11 PM
. There are two tasks between these two, which would also need to be copied as
to create a separate dependency tree. They also have other dependencies as well that they'd need to maintain. Is there a way to duplicate an existing task with a new name and then remove/add dependencies to other tasks?
Vampire07/20/2022, 1:12 PM
actions to the right tasks that need those where it makes a difference that throws an error if the property is set to the other value. Something like that.
Jeff Lockhart07/20/2022, 1:25 PM