|
@@ -1,3 +1,5 @@
|
|
|
|
+import com.codeskraps.weather.ConfigData
|
|
|
|
+
|
|
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
plugins {
|
|
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.android.application)
|
|
@@ -28,14 +30,14 @@ android {
|
|
|
|
|
|
buildTypes {
|
|
buildTypes {
|
|
release {
|
|
release {
|
|
- isMinifyEnabled = true
|
|
|
|
|
|
+ isMinifyEnabled = ConfigData.isMinifyRelease
|
|
proguardFiles(
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
"proguard-rules.pro"
|
|
)
|
|
)
|
|
}
|
|
}
|
|
debug {
|
|
debug {
|
|
- isMinifyEnabled = false
|
|
|
|
|
|
+ isMinifyEnabled = ConfigData.isMinifyDebug
|
|
applicationIdSuffix = ".debug"
|
|
applicationIdSuffix = ".debug"
|
|
versionNameSuffix = "-DEBUG"
|
|
versionNameSuffix = "-DEBUG"
|
|
}
|
|
}
|