From 290e8f5a1e18bda64de2ea259aad69c7e58d0628 Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Sat, 29 Mar 2025 16:51:18 +0700 Subject: [PATCH] Fix benchmark build (#1938) (cherry picked from commit b00bbe91beb942f2ac18765be6c78b6f318cc66d) --- app/build.gradle.kts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 58a9fc53f..d8ff0cf52 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -315,14 +315,6 @@ dependencies { } androidComponents { - beforeVariants { variantBuilder -> - // Disables standardBenchmark - if (variantBuilder.buildType == "benchmark") { - variantBuilder.enable = variantBuilder.productFlavors.containsAll( - listOf("default" to "dev"), - ) - } - } onVariants(selector().withFlavor("default" to "standard")) { // Only excluding in standard flavor because this breaks // Layout Inspector's Compose tree