# Artifact.Multiple

# Artifact.Multiple

<br />

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

<br />

|---|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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.4/com/android/build/api/artifact/Artifact)                      ||
|   | ↳ | [com.android.build.api.artifact.Artifact.Multiple](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact.Multiple) |

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

|----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [MultipleArtifact](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/MultipleArtifact) | Public[Artifact](https://developer.android.com/reference/tools/gradle-api/7.4/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.4/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_DIRS),[MultipleArtifact.ALL_CLASSES_JARS](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_JARS),[MultipleArtifact.MULTIDEX_KEEP_PROGUARD](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD)  

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
| [MultipleArtifact.ALL_CLASSES_DIRS](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_DIRS)             | **This object is deprecated.**Use Artifacts.forScope APIs.                                                           |
| [MultipleArtifact.ALL_CLASSES_JARS](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_JARS)             | **This object is deprecated.**Use Artifacts.forScope APIs.                                                           |
| [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](https://developer.android.com/reference/tools/gradle-api/7.4/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                                                                                                                                                                                                                                                                                                                         ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| `<FileTypeT : `[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html)`> `[Multiple](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact.Multiple#Multiple(com.android.build.api.artifact.ArtifactKind,com.android.build.api.artifact.Artifact.Category))`(` ` kind: `[ArtifactKind](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/ArtifactKind)`<FileTypeT>,` ` category: `[Artifact.Category](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact.Category) `)` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| From class[com.android.build.api.artifact.Artifact](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact) |-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `open `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFileSystemLocationName](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact#getFileSystemLocationName())`()`    | | `open `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFolderName](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact#getFolderName())`()`                            | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)        | [name](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/artifact/Artifact#name())`()` Provide a unique name for the artifact type. | |

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

## Public constructors

### Multiple

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