gradle: restore play runtime detection

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2023-05-08 13:08:09 +02:00
parent 40eaa54cf0
commit 33a8a51962
5 changed files with 19 additions and 41 deletions
-6
View File
@@ -26,7 +26,6 @@ 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
@@ -49,11 +48,6 @@ android {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
}
create("googleplay") {
initWith(getByName("release"))
matchingFallbacks += "release"
buildConfigField("boolean", "IS_GOOGLE_PLAY", true.toString())
}
}
lint {
disable += "LongLogTag"