Created
March 26, 2023 19:54
-
-
Save PabloProta/29f4457f9113a27ecc3f016c3e4e6dc7 to your computer and use it in GitHub Desktop.
project/module/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
buildTypes { | |
getByName("release") { | |
// Enables code shrinking, obfuscation, and optimization for only | |
// your project's release build type. | |
isMinifyEnabled = true | |
// Enables resource shrinking, which is performed by the | |
// Android Gradle plugin. | |
isShrinkResources = true | |
// Includes the default ProGuard rules files that are packaged with | |
// the Android Gradle plugin. To learn more, go to the section about | |
// R8 configuration files. | |
proguardFiles( | |
getDefaultProguardFile("proguard-android-optimize.txt"), | |
"proguard-rules.pro" | |
) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment