ApplicationVariantProperties

@Incubating interface ApplicationVariantProperties : VariantProperties
com.android.build.api.variant.ApplicationVariantProperties

Properties for the main Variant of an application.

Summary

Public methods

abstract Unit
aaptOptions(action: AaptOptions.() -> Unit)

Variant's aaptOptions, initialized by the corresponding global DSL element.

Inherited functions

Properties

abstract AaptOptions

Variant's aaptOptions, initialized by the corresponding global DSL element.

abstract Property<String>

Variant's application ID as present in the final manifest file of the APK.

abstract DependenciesInfo

Specify whether to include SDK dependency information in APKs and Bundles.

abstract List<VariantOutput>

Returns the final list of variant outputs.

Inherited properties

Public methods

aaptOptions

abstract fun aaptOptions(action: AaptOptions.() -> Unit): Unit

Variant's aaptOptions, initialized by the corresponding global DSL element.

Properties

aaptOptions

abstract val aaptOptions: AaptOptions

Variant's aaptOptions, initialized by the corresponding global DSL element.

applicationId

abstract val applicationId: Property<String>

Variant's application ID as present in the final manifest file of the APK.

dependenciesInfo

abstract val dependenciesInfo: DependenciesInfo

Specify whether to include SDK dependency information in APKs and Bundles.

outputs

abstract val outputs: List<VariantOutput>

Returns the final list of variant outputs.

Return
read only list of VariantOutput for this variant.