Artifact.Single

Added in 7.0.0

abstract class Artifact.Single<FileTypeT : FileSystemLocation> : Artifact

Known direct subclasses
ScopedArtifact

List of ScopedArtifacts.Scope artifacts.

SingleArtifact

Public Artifact for Android Gradle plugin.

Known indirect subclasses
ScopedArtifact.CLASSES

.class files, result of sources compilation and/or external dependencies depending on the scope; includes users' transformation, but does not include Jacoco instrumentation

ScopedArtifact.JAVA_RES
SingleArtifact.AAR

The final AAR file as it would be published.

SingleArtifact.APK_FROM_BUNDLE

Universal APK that contains assets for all screen densities.

SingleArtifact.APK

Directory where APK files will be located.

SingleArtifact.ASSETS

Assets that will be packaged in the resulting AAR, APK or Bundle.

SingleArtifact.BUNDLE

The final Bundle ready for consumption at Play Store.

SingleArtifact.MERGED_MANIFEST

Merged manifest file that will be used in the APK, Bundle and InstantApp packages.

SingleArtifact.MERGED_NATIVE_LIBS

The directory containing all the native library (.so) files that will be packaged in the APK, AAR, or Bundle.

SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT

The metadata for the library dependencies.

SingleArtifact.OBFUSCATION_MAPPING_FILE
SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST

A file containing the list of public resources exported by a library project.

SingleArtifact.RUNTIME_SYMBOL_LIST

The text symbol output file (R.txt) containing a list of resources and their ids (including of transitive dependencies).


Denotes a single FileSystemLocation instance of this artifact type at a given time. Single artifact types can be transformed or replaced but never appended.

Summary

Public constructors

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

Inherited functions

From com.android.build.api.artifact.Artifact
open String
open String
String

Provide a unique name for the artifact type.

Public constructors

Single

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