# Artifact.Replaceable

# Replaceable

```
interface Replaceable
```

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.artifact.Artifact.Replaceable](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Replaceable#) |

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [MultipleArtifact.ALL_CLASSES_DIRS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_DIRS),[MultipleArtifact.ALL_CLASSES_JARS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_JARS),[MultipleArtifact.ASSETS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact.ASSETS),[MultipleArtifact.MULTIDEX_KEEP_PROGUARD](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD),[SingleArtifact.APK](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/SingleArtifact.APK),[SingleArtifact.MERGED_MANIFEST](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/SingleArtifact.MERGED_MANIFEST),[SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT) |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------| | [MultipleArtifact.ALL_CLASSES_DIRS](https://developer.android.com/reference/tools/gradle-api/7.1/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.            | | [MultipleArtifact.ALL_CLASSES_JARS](https://developer.android.com/reference/tools/gradle-api/7.1/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.              | | [MultipleArtifact.ASSETS](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact.ASSETS)                                                         | Assets that will be packaged in the resulting APK or Bundle.                                                         | | [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](https://developer.android.com/reference/tools/gradle-api/7.1/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. | | [SingleArtifact.APK](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/SingleArtifact.APK)                                                                   | Directory where APK files will be located.                                                                           | | [SingleArtifact.MERGED_MANIFEST](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/SingleArtifact.MERGED_MANIFEST)                                           | Merged manifest file that will be used in the APK, Bundle and InstantApp packages.                                   | | [SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT) | The metadata for the library dependencies.                                                                           | |

Denotes an artifact type that can be replaced. Only[Single](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Single)artifacts can be replaced, if you want to replace a[Multiple](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Multiple)artifact type, you will need to transform it by combining all the inputs into a single output instance.

## Summary