rules_android
rules_android copied to clipboard
Add an ability to exclude files from final binary produces by android_application
Gradle supports excluding artifacts from modules using the exclude keyword. This functionality is used across the Android ecosystem to exclude artifacts from the final APK mainly to reduce app size.
This PR adds new excludes
attribute to android_application
which supports a list of regex file patterns to exclude from the final binary (aab
).