# Artifact.Multiple

# Multiple

```
abstract class Multiple<FileTypeT : FileSystemLocation> : Artifact<FileTypeT>
```

|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                        |||
| ↳ | [com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact)\<FileTypeT\>          ||
|   | ↳ | [com.android.build.api.artifact.Artifact.Multiple](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Multiple#) |

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [MultipleArtifact](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact) |----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------| | [MultipleArtifact](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/MultipleArtifact) | Public[Artifact](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact)for Android Gradle plugin. | |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Indirect 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) |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------| | [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. | |

Denotes possible multiple[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html)instances for this artifact type. Consumers of artifact types with multiple instances must consume a collection of[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html).

## Summary

|                                                                                                                                                                                                                                                                                                                                            ### Public constructors                                                                                                                                                                                                                                                                                                                                            ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [<init>](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Multiple#%3Cinit%3E(com.android.build.api.artifact.ArtifactKind,%20com.android.build.api.artifact.Artifact.Category))`(`kind:` `[ArtifactKind](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/ArtifactKind)<FileTypeT>`, `category:` `[Artifact.Category](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Category)`)` Denotes possible multiple[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html)instances for this artifact type. |

| ### Inherited functions ||
|---|---|
| From class[Artifact](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact) |----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFileSystemLocationName](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact#getFileSystemLocationName())`()` <br />                                                                                                                                                  | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFolderName](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact#getFolderName())`()` <br />                                                                                                                                                                          | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [name](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact#name())`()` <br /> Provide a unique name for the artifact type. For external plugins defining new types, consider adding the plugin name to the artifact's name to avoid collision with other plugins. <br /> | ||

| ### Inherited properties ||
|---|---|
| From class[Artifact](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact) |------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Artifact.Category](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact.Category) | [category](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact#category:com.android.build.api.artifact.Artifact.Category) <br /> | | [ArtifactKind](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/ArtifactKind)<T>        | [kind](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/artifact/Artifact#kind:com.android.build.api.artifact.ArtifactKind) <br />              | ||

## Public constructors

### \<init\>

```
Multiple(
    kind: ArtifactKind<FileTypeT>, 
    category: Artifact.Category)
```

Denotes possible multiple[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html)instances for this artifact type. Consumers of artifact types with multiple instances must consume a collection of[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html).