I want to perform some transformation operations between two existing TransformActions. How do I insert a TransformAction between two TransformActions?
Artifact transforms transform one set of attribute values to another set of attribute values, so you just have to build a chain.
In the example in the linked thread to work properly it should for example be
You tell Gradle your transform isn’t doing anything, so it will never be selected for any artifact. And if foo and bar are already registered, I don’t think you can squeeze in.
Maybe if you register one transform, that directly transforms from source to target state. That transform could then first call foo, do its own logic and the call bar. As the shortest chain wins the selection, it would be selected.