Stay organized with collections
Save and categorize content based on your preferences.
TestBuildFeatures
interface TestBuildFeatures : BuildFeatures
A list of build features that can be disabled or enabled in an Android Test project.
Summary
Inherited properties
|
From class BuildFeatures
Boolean? |
aidl
Flag to enable AIDL compilation.
Setting the value to null resets to the default value.
Default value is true .
You can override the default for this for all projects in your build by adding the line
android.defaults.buildfeatures.aidl=true
in the gradle.properties file at the root project of your build.
More information about this feature at: TBD
|
Boolean? |
buildConfig
Flag to enable/disable generation of the BuildConfig class.
Setting the value to null resets to the default value.
Default value is true .
You can override the default for this for all projects in your build by adding the line
android.defaults.buildfeatures.buildconfig=true
in the gradle.properties file at the root project of your build.
More information about this feature at: TBD
|
Boolean? |
compose
Flag to enable Compose feature.
Setting the value to null resets to the default value
Default value is false .
More information available about this feature at: TBD
|
Boolean? |
prefab
Flag to enable/disable import of Prefab dependencies from AARs.
Setting the value to null resets to the default value.
Default value is false .
You can override the default for this in your module by setting
android {
buildFeatures {
prefab true
}
}
in the module's build.gradle file.
More information about this feature at: TBD
|
Boolean? |
renderScript
Flag to enable RenderScript compilation.
Setting the value to null resets to the default value.
Default value is true .
You can override the default for this for all projects in your build by adding the line
android.defaults.buildfeatures.renderscript=true
in the gradle.properties file at the root project of your build.
More information about this feature at: TBD
|
Boolean? |
resValues
Flag to enable Resource Values generation.
Setting the value to null resets to the default value.
Default value is true .
You can override the default for this for all projects in your build by adding the line
android.defaults.buildfeatures.resvalues=true
in the gradle.properties file at the root project of your build.
More information about this feature at: TBD
|
Boolean? |
shaders
Flag to enable Shader compilation.
Setting the value to null resets to the default value.
Default value is true .
You can override the default for this for all projects in your build by adding the line
android.defaults.buildfeatures.shaders=true
in the gradle.properties file at the root project of your build.
More information about this feature at: TBD
|
Boolean? |
viewBinding
Flag to enable View 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.viewbinding=true
in the gradle.properties file at the root project of your build.
More information about this feature at: TBD
|
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-06-17 UTC."],[],[]]