From cc2cbf810d48e9f0ac58474d89b23f17d108dc18 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 21 Oct 2016 17:54:12 -0700 Subject: [PATCH] Exclude opencv MANIFEST.MF files to prevent repeat unzips. As natives and jni extract to the same location, their MANIFEST.MF files were overwriting each other. --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 3e718502cf..a13644f285 100644 --- a/build.gradle +++ b/build.gradle @@ -199,6 +199,7 @@ ext.useOpenCv = { project -> dependsOn "downloadOpenCvNatives_${openCvPlatform}" from zipTree(project.tasks["downloadOpenCvNatives_${openCvPlatform}"].outputs.files.singleFile) into openCvNativesFolder + exclude '**/MANIFEST.MF' } } @@ -233,6 +234,7 @@ ext.useOpenCv = { project -> dependsOn "downloadOpenCvJni_${openCvPlatform}" from zipTree(project.tasks["downloadOpenCvJni_${openCvPlatform}"].outputs.files.singleFile) into openCvNativesFolder + exclude '**/MANIFEST.MF' } }