# Artifact.Replaceable

# Replaceable

```
interface Replaceable
```

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

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD),[SingleArtifact.APK](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/artifact/SingleArtifact.APK),[SingleArtifact.MERGED_MANIFEST](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/artifact/SingleArtifact.MERGED_MANIFEST) |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------| | [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](https://developer.android.com/reference/tools/gradle-api/7.0/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.0/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.0/com/android/build/api/artifact/SingleArtifact.MERGED_MANIFEST)                   | Merged manifest file that will be used in the APK, Bundle and InstantApp packages.                                   | |

Denotes an artifact type that can be replaced. Only[Single](https://developer.android.com/reference/tools/gradle-api/7.0/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.0/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