Stage the Qualcomm runtime before the build so lint sees its assets as a dependency

This commit is contained in:
maxjivi05 committed 2026-10-24 15:29:43 -04:00
1 parent 41843dedcb
commit d93021ad52
1 file changed
+1 -3
+1 -3
View File
@@ -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) {