diff --git a/amethyst/build.gradle.kts b/amethyst/build.gradle.kts index c8c3a72587..ceacdce4bf 100644 --- a/amethyst/build.gradle.kts +++ b/amethyst/build.gradle.kts @@ -212,6 +212,9 @@ android { } create("benchmark") { initWith(getByName("release")) + // Plain AGP library deps (e.g. :nappletHost) only declare debug/release build types, + // so fall back to their `release` variant when resolving the benchmark build type. + matchingFallbacks += "release" applicationIdSuffix = ".benchmark" versionNameSuffix = "-BENCHMARK" resValue("string", "app_name", "@string/app_name_benchmark")