summaryrefslogtreecommitdiffhomepage
path: root/ui/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/build.gradle.kts')
-rw-r--r--ui/build.gradle.kts5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 67e7a12d..8832a358 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -23,6 +23,7 @@ android {
versionCode = providers.gradleProperty("wireguardVersionCode").get().toInt()
versionName = providers.gradleProperty("wireguardVersionName").get()
buildConfigField("int", "MIN_SDK_VERSION", minSdk.toString())
+ buildConfigField("boolean", "IS_GOOGLE_PLAY", false.toString())
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
@@ -45,6 +46,10 @@ android {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
}
+ create("googleplay") {
+ initWith(getByName("release"))
+ buildConfigField("boolean", "IS_GOOGLE_PLAY", true.toString())
+ }
}
lint {
disable.add("LongLogTag")