v2.2.0: fixed copyAndroidNatives causing errors with project cleaning

This commit is contained in:
Evan Debenham
2023-07-25 11:30:21 -04:00
parent 7832b42042
commit e5e3503cfa

View File

@@ -76,6 +76,7 @@ dependencies {
// the natives configuration, and extracts them to the proper libs/ folders // the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK. // so they get packed with the APK.
task copyAndroidNatives() { task copyAndroidNatives() {
doFirst {
file("libs/armeabi-v7a/").mkdirs() file("libs/armeabi-v7a/").mkdirs()
file("libs/arm64-v8a/").mkdirs() file("libs/arm64-v8a/").mkdirs()
file("libs/x86/").mkdirs() file("libs/x86/").mkdirs()
@@ -96,3 +97,4 @@ task copyAndroidNatives() {
} }
} }
} }
}