BuiltArtifact

interface BuiltArtifact : VariantOutputConfiguration

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

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

Collection<FilterConfiguration> filters

Returns a possibly empty list of FilterConfiguration for this output. If the list is empty, this means there is no filter associated to this output.

VariantOutputConfiguration.OutputType outputType

Returns the output type of the referenced APK.

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)

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Apr 11, 2024

Microsoft empowers people and organizations to work, learn, organize, connect, and create through their leading Microsoft 365 apps. To achieve that, they know it’s essential to provide an optimal productivity experience for their customers, across all devices they use.

Updated Dec 13, 2021

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024