From bdfe32dc4d2eda3f55c63c5b54d83cc308fa8011 Mon Sep 17 00:00:00 2001 From: Ryan Brooks Date: Wed, 11 Oct 2023 21:25:58 -0700 Subject: [PATCH] Adjust sample --- performance/sample/app/build.gradle.kts | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/performance/sample/app/build.gradle.kts b/performance/sample/app/build.gradle.kts index a0b862b5..644dd2bf 100644 --- a/performance/sample/app/build.gradle.kts +++ b/performance/sample/app/build.gradle.kts @@ -36,10 +36,38 @@ android { signingConfig = signingConfigs.getByName("debug") } debug { + isDefault = true applicationIdSuffix = ".debug" } } + flavorDimensions.add("api") + flavorDimensions.add("mode") + + productFlavors { + create("demo") { + dimension = "mode" + applicationIdSuffix = ".demo" + versionNameSuffix = "-demo" + } + + create("full") { + dimension = "mode" + applicationIdSuffix = ".full" + versionNameSuffix = "-full" + } + + create("minApi24") { + dimension = "api" + minSdk = 24 + } + + create("minApi21") { + dimension = "api" + minSdk = 21 + } + } + flavorDimensions.add("store") flavorDimensions.add("distribution")