In Gradle, is it possible to create a boolean build config field based on other build config field?

Viewed 3364

In Gradle, how to create a boolean build config field based on other build config field?

For example:

buildConfigField BOOLEAN, TEST_A, "false"
buildConfigField BOOLEAN, TEST_B, "false"
buildConfigField BOOLEAN, TEST_C, TEST_A && TEST_B
2 Answers
Related