Fabio Berta
08/01/2023, 9:52 AMconsumerProguardFiles("<http://consumer-rules.pro|consumer-rules.pro>")
in defaultConfig
. This makes sense to me as this tells the consumer (e.g. the app module) any custom rules. The generator also created a release
build type with isMinifyEnabled = false
. This also makes sense, we don't want to library itself to minify as it doesn't know that is used and what not. But what is confusing to me is that on top of that, it also added proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "<http://proguard-rules.pro|proguard-rules.pro>")
in the release
block. What's the purpose of this? I don't understand in what circumstances this would be used?