mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
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:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user