diff --git a/build.gradle b/build.gradle index 11f64484f9..4734c1d4ab 100644 --- a/build.gradle +++ b/build.gradle @@ -155,6 +155,8 @@ android { exclude 'LICENSE' exclude 'NOTICE' exclude 'asm-license.txt' + exclude 'META-INF/LICENSE' + exclude 'META-INF/NOTICE' } signingConfigs { @@ -207,11 +209,6 @@ android { } } - packagingOptions { - exclude 'META-INF/LICENSE' - exclude 'META-INF/NOTICE' - } - lintOptions { abortOnError false }