Stay organized with collections
Save and categorize content based on your preferences.
Artifact.Multiple
abstract class Artifact.Multiple<FileTypeT : FileSystemLocation?> : Artifact
Known indirect subclasses
Denotes possible multiple FileSystemLocation
instances for this artifact type. Consumers of artifact types with multiple instances must consume a collection of FileSystemLocation
.
Summary
Public constructors
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Artifact.Multiple\n=================\n\n\n```\nabstract class Artifact.Multiple\u003cFileTypeT : FileSystemLocation?\u003e : Artifact\n```\n\n\u003cbr /\u003e\n\n|---|---|-------------------------------------------------------------------------------------------------------|\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [Artifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact) ||\n| | ↳ | [Artifact.Multiple](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact.Multiple) |\n\nKnown direct subclasses \n[MultipleArtifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact) \n\n|-----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|\n| [MultipleArtifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact) | Public [Artifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact) for Android Gradle plugin. |\n\nKnown indirect subclasses \n[MultipleArtifact.ALL_CLASSES_DIRS](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_DIRS), [MultipleArtifact.ALL_CLASSES_JARS](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact.ALL_CLASSES_JARS), [MultipleArtifact.ASSETS](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact.ASSETS), [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD) \n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [MultipleArtifact.ALL_CLASSES_DIRS](/reference/tools/gradle-api/7.2/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. |\n| [MultipleArtifact.ALL_CLASSES_JARS](/reference/tools/gradle-api/7.2/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. |\n| [MultipleArtifact.ASSETS](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact.ASSETS) | Assets that will be packaged in the resulting APK or Bundle. |\n| [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/7.2/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. |\n\n*** ** * ** ***\n\nDenotes 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).\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| `\u003cFileTypeT : `[FileSystemLocation](https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileSystemLocation.html)`?\u003e `[Multiple](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact.Multiple#Multiple(com.android.build.api.artifact.ArtifactKind,com.android.build.api.artifact.Artifact.Category))`(` ` kind: `[ArtifactKind](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind)`\u003cFileTypeT?\u003e?,` ` category: `[Artifact.Category](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact.Category)`?` `)` |\n\n| ### Inherited functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [Artifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact) |-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------| | `open `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFileSystemLocationName](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact#getFileSystemLocationName())`()` | | `open `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFolderName](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact#getFolderName())`()` | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [name](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact#name())`()` Provide a unique name for the artifact type. | |\n\nPublic constructors\n-------------------\n\n### Multiple\n\n```\n\u003cFileTypeT : FileSystemLocation?\u003e Multiple(\n kind: ArtifactKind\u003cFileTypeT?\u003e?,\n category: Artifact.Category?\n)\n```"]]