Stay organized with collections
Save and categorize content based on your preferences.
MultipleArtifact
sealed class MultipleArtifact<FileTypeT : FileSystemLocation> : Artifact.Multiple
Public Artifact
for Android Gradle plugin.
This type inherits Artifact.Multiple
. For single artifacts, see SingleArtifact
.
All methods in Artifacts
should be supported with any subclass of this class.
Summary
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# MultipleArtifact\n================\n\n\n```\nsealed class MultipleArtifact\u003cFileTypeT : FileSystemLocation\u003e : Artifact.Multiple\n```\n\n\u003cbr /\u003e\n\n|---|---|---|------------------------------------------------------------------------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||\n| ↳ | [com.android.build.api.artifact.Artifact](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact) |||\n| | ↳ | [com.android.build.api.artifact.Artifact.Multiple](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact.Multiple) ||\n| | | ↳ | [com.android.build.api.artifact.MultipleArtifact](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact) |\n\nKnown direct subclasses \n[MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.MULTIDEX_KEEP_PROGUARD), [MultipleArtifact.NATIVE_DEBUG_METADATA](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.NATIVE_DEBUG_METADATA), [MultipleArtifact.NATIVE_SYMBOL_TABLES](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.NATIVE_SYMBOL_TABLES) \n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/8.0/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| [MultipleArtifact.NATIVE_DEBUG_METADATA](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.NATIVE_DEBUG_METADATA) | Directories with native debug metadata |\n| [MultipleArtifact.NATIVE_SYMBOL_TABLES](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.NATIVE_SYMBOL_TABLES) | Directories with debug symbol table |\n\n*** ** * ** ***\n\nPublic [Artifact](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact) for Android Gradle plugin.\n\nThis type inherits [Artifact.Multiple](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact.Multiple). For single artifacts, see [SingleArtifact](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/SingleArtifact).\n\nAll methods in [Artifacts](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifacts) should be supported with any subclass of this class.\n\nSummary\n-------\n\n| ### Nested types ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| [MultipleArtifact.MULTIDEX_KEEP_PROGUARD](/reference/tools/gradle-api/8.0/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| [MultipleArtifact.NATIVE_DEBUG_METADATA](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.NATIVE_DEBUG_METADATA) | Directories with native debug metadata |\n| [MultipleArtifact.NATIVE_SYMBOL_TABLES](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/MultipleArtifact.NATIVE_SYMBOL_TABLES) | Directories with debug symbol table |\n\n| ### Inherited functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [com.android.build.api.artifact.Artifact](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact) |-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------| | `open `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getFileSystemLocationName](/reference/tools/gradle-api/8.0/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/8.0/com/android/build/api/artifact/Artifact#getFolderName())`()` | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [name](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact#name())`()` Provide a unique name for the artifact type. | |\n\n| ### Inherited properties ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [com.android.build.api.artifact.Artifact](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact) |----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------| | [Artifact.Category](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact.Category) | [category](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact#category()) | | [ArtifactKind](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/ArtifactKind)`\u003cFileTypeT\u003e` | [kind](/reference/tools/gradle-api/8.0/com/android/build/api/artifact/Artifact#kind()) | |"]]