BuiltArtifact

Added in 4.2.0

interface BuiltArtifact : VariantOutputConfiguration


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

This is part of the BuiltArtifactsLoader API to read the content of the APK folder generated by the build.

Summary

Public properties

String

Absolute path to the built file

Int?

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

String?

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

Public properties

outputFile

Added in 4.2.0
val outputFileString

Absolute path to the built file

versionCode

Added in 4.2.0
val versionCodeInt?

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

versionName

Added in 4.2.0
val versionNameString?

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