BuiltArtifact

@Incubating interface BuiltArtifact : VariantOutputConfiguration
com.android.build.api.variant.BuiltArtifact

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

Summary

Properties

abstract String

Absolute path to the built file

abstract Int?

Returns a read-only version code.

abstract String?

Returns a read-only version name.

Inherited properties

Properties

outputFile

abstract val outputFile: String

Absolute path to the built file

Return
the output file path.

versionCode

abstract val versionCode: Int?

Returns a read-only version code.

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

versionName

abstract val versionName: String?

Returns a read-only version name.

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