From 7778ff63b57f3503904e2619d96279f8a40151aa Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 5 May 2023 02:43:36 +0200 Subject: gradle: use matching fallback instead of build type Signed-off-by: Jason A. Donenfeld --- tunnel/build.gradle.kts | 3 --- ui/build.gradle.kts | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tunnel/build.gradle.kts b/tunnel/build.gradle.kts index 686051bf..d34e905f 100644 --- a/tunnel/build.gradle.kts +++ b/tunnel/build.gradle.kts @@ -50,9 +50,6 @@ android { } } } - create("googleplay") { - initWith(getByName("release")) - } } lint { disable += "LongLogTag" diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts index 5c6163af..661be73e 100644 --- a/ui/build.gradle.kts +++ b/ui/build.gradle.kts @@ -50,6 +50,7 @@ android { } create("googleplay") { initWith(getByName("release")) + matchingFallbacks += "release" buildConfigField("boolean", "IS_GOOGLE_PLAY", true.toString()) } } -- cgit v1.2.3