Stay organized with collections
Save and categorize content based on your preferences.
MultipleArtifact
sealed class MultipleArtifact<FileTypeT : FileSystemLocation?> : Artifact, 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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# MultipleArtifact\n================\n\n\n```\nsealed class MultipleArtifact\u003cFileTypeT : FileSystemLocation?\u003e : Artifact, Artifact.Multiple\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| | | ↳ | [MultipleArtifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/MultipleArtifact) |\n\nKnown direct 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\nPublic [Artifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact) for Android Gradle plugin.\n\nThis type inherits [Artifact.Multiple](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact.Multiple). For single artifacts, see [SingleArtifact](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/SingleArtifact).\n\nAll methods in [Artifacts](/reference/tools/gradle-api/7.2/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.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| ### 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. | |"]]