From de66bdfae347853c53e3e24d5ecab0040313c6cc Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sat, 13 Jun 2015 21:01:39 -0700 Subject: [PATCH] pickFirst seems a better option than exclude --- build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index bf6c1913..bd95d455 100644 --- a/build.gradle +++ b/build.gradle @@ -29,11 +29,9 @@ android { } } packagingOptions { - exclude "META-INF/DEPENDENCIES" - exclude "META-INF/NOTICE" - exclude "META-INF/LICENSE" - exclude "META-INF/LICENSE.txt" - exclude "META-INF/NOTICE.txt" + pickFirst "META-INF/DEPENDENCIES" + pickFirst "META-INF/LICENSE" + pickFirst "META-INF/NOTICE" } lintOptions { abortOnError false