Disable PNG cruncher and PNG generation for vector drawables

This commit is contained in:
Alexander Bakker 2025-05-23 14:33:21 +02:00
parent 819865230f
commit 6c40cfa748

View file

@ -93,6 +93,14 @@ android {
}
}
// Required to make the APK reproducible
aaptOptions {
cruncherEnabled = false
}
defaultConfig {
vectorDrawables.generatedDensities = []
}
packagingOptions {
// R8 doesn't remove these resources, so exclude them manually. This reduces APK size by 4MB.
resources {