SingleArtifact

sealed class SingleArtifact<T : FileSystemLocation> : Artifact.Single<T>
kotlin.Any
   ↳ com.android.build.api.artifact.Artifact<FileTypeT>
   ↳ com.android.build.api.artifact.Artifact.Single<T>
   ↳ com.android.build.api.artifact.SingleArtifact

Public Artifact for Android Gradle plugin.

These are Artifact.Single, see MultipleArtifact for multiple ones.

All methods in the Artifacts class should be supported with any subclass of this class.

Summary

Nested classes

The final AAR file as it would be published.

Directory where APK files will be located.

The final Bundle ready for consumption at Play Store.

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

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

Public methods

open String

Public methods

getFileSystemLocationName

open fun getFileSystemLocationName(): String
Return
Depending on T, returns the file name of the folder under the variant-specific folder or an empty string to use defaults.