From 0a5783de89afcbbdf63723e2b5f238f2eb487a1f Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Thu, 3 Aug 2023 21:28:49 +0800 Subject: [PATCH] Fix compatibility with AGP 8.1.0 --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3eef4b9f6..61fef1526 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -294,7 +294,7 @@ cargo { if (isRelease) profile = "release" } -tasks.whenObjectAdded { +tasks.configureEach { if ((name == "mergeDebugJniLibFolders" || name == "mergeReleaseJniLibFolders")) { dependsOn("cargoBuild") // fix mergeDebugJniLibFolders UP-TO-DATE