Stay organized with collections
Save and categorize content based on your preferences.
interface Artifact.Transformable
Denotes an artifact type that can transformed.
Either a Single
or Multiple
artifact type can be transformed.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Artifact.Transformable\n======================\n\n\n```\ninterface Artifact.Transformable\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[MultipleArtifact.ALL_CLASSES_DIRS](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_DIRS), [MultipleArtifact.ALL_CLASSES_JARS](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_JARS), [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD), [SingleArtifact.AAR](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.AAR), [SingleArtifact.APK](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.APK), [SingleArtifact.ASSETS](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.ASSETS), [SingleArtifact.BUNDLE](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.BUNDLE), [SingleArtifact.MERGED_MANIFEST](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.MERGED_MANIFEST), [SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT) \n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [MultipleArtifact.ALL_CLASSES_DIRS](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_DIRS) | Classes that will eventually be dex'ed for this module, that were generated, or processed as directories. |\n| [MultipleArtifact.ALL_CLASSES_JARS](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_JARS) | Classes that will eventually be dex'ed for this module, that were generated, or processed as jar files. |\n| [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD) | Text files with additional ProGuard rules to be used to determine which classes are compiled into the main dex file. |\n| [SingleArtifact.AAR](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.AAR) | The final AAR file as it would be published. |\n| [SingleArtifact.APK](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.APK) | Directory where APK files will be located. |\n| [SingleArtifact.ASSETS](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.ASSETS) | Assets that will be packaged in the resulting APK or Bundle. |\n| [SingleArtifact.BUNDLE](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.BUNDLE) | The final Bundle ready for consumption at Play Store. |\n| [SingleArtifact.MERGED_MANIFEST](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.MERGED_MANIFEST) | Merged manifest file that will be used in the APK, Bundle and InstantApp packages. |\n| [SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT) | The metadata for the library dependencies. |\n\n*** ** * ** ***\n\nDenotes an artifact type that can transformed.\n\nEither a [Single](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/Artifact.Single) or [Multiple](/reference/tools/gradle-api/7.3/com/android/build/api/artifact/Artifact.Multiple) artifact type can be transformed."]]