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.
This commit is contained in:
Peter Johnson
2016-10-21 17:54:12 -07:00
parent cf9aa90321
commit cc2cbf810d

View File

@@ -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'
}
}