summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-05-05 02:43:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-05 02:43:36 +0200
commit7778ff63b57f3503904e2619d96279f8a40151aa (patch)
tree6f7c3383b94cc78e8c4202c604bc5c6d0e202082
parent79c5eb41c3bb42eebf917353eae3a8fb6cf4e61b (diff)
gradle: use matching fallback instead of build type
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--tunnel/build.gradle.kts3
-rw-r--r--ui/build.gradle.kts1
2 files changed, 1 insertions, 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())
}
}