Exclude more license/notice files from apk

This reduces the final apk size by an additional 5KB.
This commit is contained in:
Daniel Martí 2015-11-01 14:25:58 +01:00
parent 04e8117c3e
commit 41fbbd9825

View File

@ -165,6 +165,15 @@ android {
// since some devices ship deprecated locale codes // since some devices ship deprecated locale codes
disable 'LocaleFolder' disable 'LocaleFolder'
} }
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/INDEX.LIST'
exclude '.readme'
}
} }
task checkstyle(type: Checkstyle) { task checkstyle(type: Checkstyle) {