Stay organized with collections
Save and categorize content based on your preferences.
Artifact.Companion
object Artifact.Companion
Supported ArtifactKind
Summary
Public properties
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.Companion\n==================\n\n\n```\nobject Artifact.Companion\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSupported [ArtifactKind](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind)\n\nSummary\n-------\n\n| ### Public properties ||\n|-----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ArtifactKind.DIRECTORY](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind.DIRECTORY) | [DIRECTORY](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact.Companion#DIRECTORY()) [ArtifactKind](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind) for [Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html) |\n| [ArtifactKind.FILE](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind.FILE) | [FILE](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/Artifact.Companion#FILE()) [ArtifactKind](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind) for [RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html) |\n\nPublic properties\n-----------------\n\n### DIRECTORY\n\n```\nval DIRECTORY: ArtifactKind.DIRECTORY\n```\n\n[ArtifactKind](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind) for [Directory](https://docs.gradle.org/current/javadoc/org/gradle/api/file/Directory.html) \n\n### FILE\n\n```\nval FILE: ArtifactKind.FILE\n```\n\n[ArtifactKind](/reference/tools/gradle-api/7.2/com/android/build/api/artifact/ArtifactKind) for [RegularFile](https://docs.gradle.org/current/javadoc/org/gradle/api/file/RegularFile.html)"]]