# Artifact.MultipleArtifact

# MultipleArtifact

```
@Incubating abstract class MultipleArtifact<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/4.2/com/android/build/api/artifact/Artifact)\<FileTypeT\>                          ||
|   | ↳ | [com.android.build.api.artifact.Artifact.MultipleArtifact](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/Artifact.MultipleArtifact#) |

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

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/4.2/com/android/build/api/artifact/Artifact.MultipleArtifact#%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/4.2/com/android/build/api/artifact/ArtifactKind)<FileTypeT>`, `category:` `[Artifact.Category](https://developer.android.com/reference/tools/gradle-api/4.2/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/4.2/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/4.2/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/4.2/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/4.2/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/4.2/com/android/build/api/artifact/Artifact) |------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Artifact.Category](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/Artifact.Category) | [category](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/Artifact#category:com.android.build.api.artifact.Artifact.Category) <br /> | | [ArtifactKind](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/ArtifactKind)<T>        | [kind](https://developer.android.com/reference/tools/gradle-api/4.2/com/android/build/api/artifact/Artifact#kind:com.android.build.api.artifact.ArtifactKind) <br />              | ||

## Public constructors

### \<init\>

```
MultipleArtifact(
    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).