Skip to content

Commit

Permalink
Improve build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-BaptisteC committed Oct 28, 2023
1 parent 117104c commit b891b8e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ android {
}

buildTypes {
getByName("debug") {
debug {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
isDebuggable = true
}
getByName("release") {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
Expand All @@ -71,6 +71,9 @@ android {
isIncludeAndroidResources = true
}
}
packagingOptions {
resources.excludes.add("META-INF/*")
}
sourceSets {
// Adds exported schema location as test app assets.
getByName("androidTest").assets.srcDirs("$projectDir/schemas")
Expand Down

0 comments on commit b891b8e

Please sign in to comment.