How to list registered variant transforms

Hi

How do I get a list of registered variant transforms?

You can register a transform as per the docs like…

dependencies {
    registerTransform(Minify) {
        from.attribute(minified, false).attribute(artifactType, "jar")
        to.attribute(minified, true).attribute(artifactType, "jar")
    }
}

I see the DefaultDependencyHandler passes the registration off to the VariantTransformRegistry but the field is private and DefaultDependencyHandler doesn’t wrap the getTransforms method.

The DefaultVariantTransformRegistry class implements VariantTransformRegistry and is created in DefaultDependencyManagementServices#createArtifactTransformRegistry but I cant find anywhere in the github source examples of code that call that method.

Am I barking up the wrong tree?