From c133a2fbd98b8557b0589a021e37da8a3aeef747 Mon Sep 17 00:00:00 2001 From: maxjivi05 Date: Sat, 24 Oct 2026 15:29:43 -0400 Subject: [PATCH] Stage the Qualcomm runtime before the build so lint sees its assets as a dependency (cherry picked from commit d93021ad524168ae6793100700c3e73faad659f9) --- app/build.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 959a20ebd..7e61b73cb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -313,9 +313,7 @@ def stageQualcommRuntime = tasks.register('stageQualcommRuntime', Exec) { '--ndk', android.ndkDirectory.absolutePath } android.sourceSets.main.assets.srcDir(layout.buildDirectory.dir('qualcommAssets')) -tasks.configureEach { task -> - if (task.name ==~ /merge.*Assets/) task.dependsOn(stageQualcommRuntime) -} +tasks.named('preBuild').configure { dependsOn(stageQualcommRuntime) } if (vitureSdkDir) android.sourceSets.main.assets.srcDir(layout.buildDirectory.dir('vitureAssets')) if (uvcDir) { def stageUvcNotices = tasks.register('stageUvcNotices', Copy) {