# Artifact.Replaceable

# Replaceable

```
@Incubating interface Replaceable
```

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

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [ArtifactType.APK](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/ArtifactType.APK), [ArtifactType.MERGED_MANIFEST](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/ArtifactType.MERGED_MANIFEST) |----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------| | [ArtifactType.APK](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/ArtifactType.APK)                         | Directory where APK files will be located.                                         | | [ArtifactType.MERGED_MANIFEST](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/ArtifactType.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 [SingleArtifact](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/Artifact.SingleArtifact) artifacts can be replaced, if you want to replace a [MultipleArtifact](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/Artifact.MultipleArtifact)
artifact type, you will need to transform it by combining all the inputs into a single output
instance.

## Summary