# Artifact.ContainsMany

# Artifact.ContainsMany

[View Source](https://cs.android.com/search?q=file:com/android/build/api/artifact/Artifact.kt+class:com.android.build.api.artifact.Artifact.ContainsMany)  
Added in 4.2.0  


```
interface Artifact.ContainsMany
```

<br />

Known direct subclasses  
[SingleArtifact.APK](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/artifact/SingleArtifact.APK)  

|--------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|
| [SingleArtifact.APK](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/artifact/SingleArtifact.APK) | Directory where APK files will be located. |

*** ** * ** ***

Denotes a single [DIRECTORY](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/artifact/Artifact#DIRECTORY()) that may contain zero to many [com.android.build.api.variant.BuiltArtifact](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/variant/BuiltArtifact).

Artifact types annotated with this marker interface are backed up by a [DIRECTORY](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/artifact/Artifact#DIRECTORY()) whose content should be read using the [com.android.build.api.variant.BuiltArtifactsLoader](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/variant/BuiltArtifactsLoader).

If producing an artifact type annotated with this marker interface, content should be written using the [com.android.build.api.variant.BuiltArtifacts.save](https://developer.android.com/reference/tools/gradle-api/8.6/com/android/build/api/variant/BuiltArtifacts#save(org.gradle.api.file.Directory)) methods.