Be as defensive as possible with those rules, since the consumer most likely cannot override them.Use consumerProguardFiles property in the Android Gradle DSL to set module specific Proguard rules (especially as a library developer) ProGuard can be executed automatically whenever you build any of the configured variants.This is not the most sophisticated workaround, but once the Android DSL will support jar files no more configuration is needed (apart from remove the static link) Summary This is the default adle (Module:app) where minifyEnabled. Go to the adle (Module: app) file of app. This will be supported with the following Gradle property: buildTypes Below is the process how to enable default ProGuard in Android Studio.
0 Comments
Leave a Reply. |