Android 12 Developer Preview is here! Try it out, and give us your feedback!

Replaceable

@Incubating interface Replaceable
com.android.build.api.artifact.Artifact.Replaceable

Denotes an artifact type that can be replaced. Only SingleArtifact artifacts can be replaced, if you want to replace a MultipleArtifact artifact type, you will need to transform it by combining all the inputs into a single output instance.

Summary