diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-04 16:45:01 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-04 16:45:01 +0200 |
commit | cf4fca8086858319f1b395c9059c67b436222cbb (patch) | |
tree | ddbda52a84b59c779e8bb46f0e8c0b2a3c1d0675 /ui/build.gradle.kts | |
parent | 318f36a20550260042c3e5a21ba06331c5384f51 (diff) |
gradle: remove runtime detection of play store
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/build.gradle.kts')
-rw-r--r-- | ui/build.gradle.kts | 5 |
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") |