From 41fbbd982563478beb03945a4ec9c3dd7b92cf02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 1 Nov 2015 14:25:58 +0100 Subject: [PATCH] Exclude more license/notice files from apk This reduces the final apk size by an additional 5KB. --- F-Droid/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/F-Droid/build.gradle b/F-Droid/build.gradle index dfa961522..0b28d900d 100644 --- a/F-Droid/build.gradle +++ b/F-Droid/build.gradle @@ -165,6 +165,15 @@ android { // since some devices ship deprecated locale codes 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) {