Should I add " _*isMinifyEnabled = true" in each f...
# android
p
Should I add " _*isMinifyEnabled = true" in each feature (gradle module) , or it just reuqired to be true in app.gr*_adle only?
Copy code
release {
            isMinifyEnabled = true
            proguardFiles(
                getDefaultProguardFile("proguard-android-optimize.txt"),
                "<http://proguard-rules.pro|proguard-rules.pro>"
            )
        }
not kotlin but kotlin colored 1
@Alireza Tizfahm Fard could you help me plz , I came from Getcontact-Bootcamp project
a
@pers it depends on your usage If you want to export your module and use it in another app, it needs to be enabled, But if you are using just in one app, you do not need it, and the app proguard will take care of it
p
that is very kind from you, thx
🙏 1
z
Only use minify in app.gradle. If you do this in liblary.gradle, it will make it inconvenient to debug the code
🙌 1
👀 1
1