Single

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

Public Artifact for Android Gradle plugin.

SingleArtifact.AAR

The final AAR file as it would be published.

SingleArtifact.APK

Directory where APK files will be located.

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.OBFUSCATION_MAPPING_FILE

SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST

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

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

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

Denotes a single FileSystemLocation instance of this artifact type at a given time.

Inherited functions

String getFileSystemLocationName()

String getFolderName()

String name()

Provide a unique name for the artifact type. For external plugins defining new types, consider adding the plugin name to the artifact's name to avoid collision with other plugins.

Inherited properties

Public constructors

<init>

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

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