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 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.
|
|
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 2025-02-10 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 2025-02-10 UTC."],[],[],null,["# TestBuildFeatures\n=================\n\n\n```\ninterface TestBuildFeatures : BuildFeatures\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA list of build features that can be disabled or enabled in an Android Test project.\n\nSummary\n-------\n\n| ### Inherited functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [org.gradle.api.plugins.ExtensionAware](https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/ExtensionAware.html) |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | `@`[Internal](https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/Internal.html)` `[ExtensionContainer](https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/ExtensionContainer.html) | [getExtensions](https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/ExtensionAware.html#getExtensions--)`()` | |\n\n| ### Inherited properties ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [com.android.build.api.dsl.BuildFeatures](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures) |---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [aidl](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#aidl()) Flag to enable AIDL compilation. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [buildConfig](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#buildConfig()) Flag to enable/disable generation of the `BuildConfig` class. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [compose](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#compose()) Flag to enable Compose feature. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [prefab](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#prefab()) Flag to enable/disable import of Prefab dependencies from AARs. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [renderScript](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#renderScript()) Flag to enable RenderScript compilation. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [resValues](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#resValues()) Flag to enable Resource Values generation. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [shaders](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#shaders()) Flag to enable Shader compilation. | | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`?` | [viewBinding](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BuildFeatures#viewBinding()) Flag to enable View Binding. | |"]]