GeneratesApk

interface GeneratesApk
com.android.build.api.variant.GeneratesApk

Cross cutting interface for com.android.build.api.component.Component subtypes that are producing APK files.

Summary

Properties

abstract AndroidResources

Variant's android resources processing configuration, initialized by the corresponding global DSL element.

abstract Provider<String>

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

abstract ApkPackaging

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

abstract Renderscript?

Variant specific settings for the renderscript compiler.

Properties

androidResources

abstract val androidResources: AndroidResources

Variant's android resources processing configuration, initialized by the corresponding global DSL element.

applicationId

abstract val applicationId: Provider<String>

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

packaging

abstract val packaging: ApkPackaging

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

renderscript

abstract val renderscript: Renderscript?

Variant specific settings for the renderscript compiler. This will return null when com.android.build.api.dsl.BuildFeatures.renderScript is false.