Custom attributes and "Found multiple transformation chains..." error

Hi, everyone.
I develop a Gradle plugin which requires some dependency transformation. registerTransform API fits for it perfectly. I created a custom attribute (which stores was the artifact transformed or not) and a custom TransformAction (which transforms the artifact and set my attribute).

But Gradle 9 started to require a unique transformation chain.

So my question is: how can I guarantee the uniqueness of this chain, considering that any other Gradle plugin may also require its own transformations?

For example, let’s say plugin A modifies attributeA and plugin B modifies attributeB. Individually, they work fine. But applying them together will lead to the error Found multiple transformation chains... because it is unclear which of the transformations A or B should be applied first. And the only way to make the chain unique is to support in one of the plugins an attribute from another. (plugin A supports attributeB or plugin B supports attributeA)

So how to develop plugins now? Should I be aware of any other Gradle plugins which make artifact transformation and support them? Or accept the situation that there are plugins that work individually but don’t work together?