ApplicationBuildFeatures

interface ApplicationBuildFeatures : BuildFeatures


A list of build features that can be disabled or enabled in an Android Application project.

Summary

Public properties

Boolean?

Flag to enable Data Binding.

Boolean?

Flag to enable Machine Learning Model Binding.

Inherited properties

From class com.android.build.api.dsl.BuildFeatures
Boolean?

Flag to enable AIDL compilation.

Boolean?

Flag to enable/disable generation of the BuildConfig class.

Boolean?

Flag to enable Compose feature.

Boolean?

Flag to enable/disable import of Prefab dependencies from AARs.

Boolean?

Flag to enable RenderScript compilation.

Boolean?

Flag to enable Resource Values generation.

Boolean?

Flag to enable Shader compilation.

Boolean?

Flag to enable View Binding.

Public properties

dataBinding

var dataBindingBoolean?

Flag to enable Data Binding.

Setting the value to null resets to the default value. Default value is false.

You can override the default for this for all projects in your build by adding the line android.defaults.buildfeatures.databinding=true in the gradle.properties file at the root project of your build.

More information about this feature at: TBD

mlModelBinding

var mlModelBindingBoolean?

Flag to enable Machine Learning Model Binding.

Setting the value to null resets to the default value. Default value is false.

You can override the default for this for all projects in your build by adding the line android.defaults.buildfeatures.mlmodelbinding=true in the gradle.properties file at the root project of your build.

More information about this feature at: TBD