fix: Fix clean build error (#1924)
Fixes https://github.com/mrousavy/react-native-vision-camera/issues/1915
This commit is contained in:
parent
3ed74e6794
commit
c9795ce767
@ -152,8 +152,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task cleanCmakeCache() {
|
task deleteCmakeCache() {
|
||||||
tasks.getByName("clean").dependsOn(cleanCmakeCache)
|
|
||||||
doFirst {
|
doFirst {
|
||||||
delete "${projectDir}/.cxx"
|
delete "${projectDir}/.cxx"
|
||||||
delete "${nodeModules}/react-native-vision-camera/android/.cxx"
|
delete "${nodeModules}/react-native-vision-camera/android/.cxx"
|
||||||
@ -175,6 +174,6 @@ tasks.configureEach { task ->
|
|||||||
}
|
}
|
||||||
// C++ clean
|
// C++ clean
|
||||||
if (task.name.contains("clean")) {
|
if (task.name.contains("clean")) {
|
||||||
task.dependsOn(cleanCmakeCache)
|
task.dependsOn(deleteCmakeCache)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user