BuiltArtifact

interface BuiltArtifact : VariantOutputConfiguration


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

Summary

Public properties

String

Absolute path to the built file

Int?

Returns a read-only version code.

String?

Returns a read-only version name.

Public properties

outputFile

val outputFileString

Absolute path to the built file

Returns
String

the output file path.

versionCode

val versionCodeInt?

Returns a read-only version code.

Returns
Int?

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

versionName

val versionNameString?

Returns a read-only version name.

Returns
String?

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