Skip to content

Commit

Permalink
feat: build types
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyMuse committed Jan 22, 2024
1 parent 059fa92 commit 41cea2a
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,38 @@ plugins {
android {
packaging {
resources {
excludes.addAll(setOf("META-INF/LICENSE.txt", "META-INF/NOTICE.txt", "META-INF/LICENSE"))
excludes.addAll(
setOf(
"META-INF/LICENSE.txt",
"META-INF/NOTICE.txt",
"META-INF/LICENSE"
)
)
}
}
buildFeatures {
viewBinding = true
}
bundle {
storeArchive {
enable = false
}
}
buildTypes {
debug {
isCrunchPngs = false
isMinifyEnabled = false
isShrinkResources = false
}
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
}

dependencies {
Expand Down

0 comments on commit 41cea2a

Please sign in to comment.