mirror of
https://github.com/cmclark00/mintris.git
synced 2025-05-18 12:35:20 +01:00
Improve code quality, performance, and Google Play compliance
This commit is contained in:
parent
5cf8aec02a
commit
f5f135ff27
14 changed files with 778 additions and 6 deletions
|
@ -19,7 +19,8 @@ android {
|
|||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
@ -38,6 +39,15 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
// Enable strict mode for debug builds
|
||||
android.applicationVariants.all { variant ->
|
||||
if (variant.buildType.name == "debug") {
|
||||
variant.mergedFlavor.manifestPlaceholders = [enableStrictMode: "true"]
|
||||
} else {
|
||||
variant.mergedFlavor.manifestPlaceholders = [enableStrictMode: "false"]
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation 'androidx.core:core-ktx:1.12.0'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue