From d93021ad524168ae6793100700c3e73faad659f9 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 --- app/build.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7d64a9432..eddf11ba4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -312,9 +312,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) {