From 5203dd86b47b2dde73045269d5dc1a30c5caec65 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 16 Jul 2024 11:06:44 +0200 Subject: [PATCH] Add packaging pickFirst to fix tests. --- vector-app/build.gradle | 6 ++++++ vector/build.gradle | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/vector-app/build.gradle b/vector-app/build.gradle index 342930c44f..b22dae7710 100644 --- a/vector-app/build.gradle +++ b/vector-app/build.gradle @@ -372,6 +372,12 @@ android { viewBinding true buildConfig true } + + packaging { + pickFirsts.add("META-INF/LICENSE.md") + pickFirsts.add("META-INF/LICENSE-notice.md") + pickFirsts.add("MANIFEST.MF") + } } dependencies { diff --git a/vector/build.gradle b/vector/build.gradle index 57effb23fa..1374b236f9 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -106,6 +106,12 @@ android { viewBinding true buildConfig true } + + packaging { + pickFirsts.add("META-INF/LICENSE.md") + pickFirsts.add("META-INF/LICENSE-notice.md") + pickFirsts.add("MANIFEST.MF") + } } dependencies {