BuiltArtifact

public interface BuiltArtifact extends VariantOutputConfiguration


Represents a built artifact that is present in the file system.

Summary

Public methods

abstract @NonNull String

Absolute path to the built file

abstract Integer

Returns a read-only version code.

abstract String

Returns a read-only version name.

Inherited methods

abstract @NonNull Collection<@NonNull FilterConfiguration>

Returns a possibly empty list of FilterConfiguration for this output.

abstract @NonNull VariantOutputConfiguration.OutputType

Returns the output type of the referenced APK.

Public methods

getOutputFile

abstract @NonNull String getOutputFile()

Absolute path to the built file

Returns
@NonNull String

the output file path.

getVersionCode

abstract Integer getVersionCode()

Returns a read-only version code.

Returns
Integer

version code or null if the version code is unknown (not set in manifest nor DSL)

getVersionName

abstract String getVersionName()

Returns a read-only version name.

Returns
String

version name or null if the version name is unknown (not set in manifest nor DSL)

Get started with passkeys and build secure and user-friendly authentication experiences for your users.

Updated Nov 12, 2024

Vulkan is a high performance, modern graphic API. It provides low level accessibility to the GPU and optimizes implementation in various ways, but it is difficult to use. The alternative, OpenGL ES, was simpler but has less features and performance as it is based on legacy hardware architecture. OpenGL ES has been deprecated on most other platforms and is no longer in active development. On Android, we are planning to deprecate OpenGL ES and move to Vulkan and need to prepare developers for the transition.

Updated Apr 1, 2024

API reference packages and classes for Android app developers.

Updated Feb 10, 2025