Use debug build for Android UI tests (CI) (#1976)

This commit is contained in:
Bart Louwers
2023-12-18 23:31:38 +01:00
committed by GitHub
parent ff35e38c6f
commit 47028a62e2
2 changed files with 16 additions and 5 deletions

View File

@@ -7,6 +7,16 @@ plugins {
apply from: "${rootDir}/gradle/native-build.gradle"
def obtainTestBuildType() {
def result = "debug";
if (project.hasProperty("testBuildType")) {
result = project.getProperties().get("testBuildType")
}
result
}
android {
compileSdkVersion androidVersions.compileSdkVersion
@@ -55,7 +65,7 @@ android {
}
}
testBuildType "release" // for benchmark
testBuildType obtainTestBuildType()
flavorDimensions += "renderer"
productFlavors {