From 61a63d8362fdaeabb4a34e47b27f7225625360e8 Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Fri, 27 Oct 2023 19:13:39 +0300 Subject: [PATCH] fix(android): AGP8 support --- detox/android/detox/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/detox/android/detox/build.gradle b/detox/android/detox/build.gradle index 3a8efdf957..778b88d2e5 100644 --- a/detox/android/detox/build.gradle +++ b/detox/android/detox/build.gradle @@ -25,8 +25,8 @@ android { if (agpVersion >= 7) { namespace "com.wix.detox" } - compileSdkVersion _compileSdkVersion - buildToolsVersion _buildToolsVersion + compileSdk _compileSdkVersion + buildTools = _buildToolsVersion defaultConfig { minSdkVersion _minSdkVersion @@ -37,7 +37,7 @@ android { consumerProguardFiles 'proguard-rules.pro' } - flavorDimensions 'detox' + flavorDimensions = ['detox'] productFlavors { full { dimension 'detox' @@ -52,7 +52,7 @@ android { unitTests.returnDefaultValues = true unitTests.all { t -> reports { - html.enabled true + html.required true } testLogging { events "passed", "skipped", "failed", "standardOut", "standardError"