mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-13 03:51:10 +00:00
Stage the Qualcomm runtime before the build so lint sees its assets as a dependency
(cherry picked from commit d93021ad52)
This commit is contained in:
1 parent
b0b2daa993
commit
c133a2fbd9
1 file changed
+1
-3
+1
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user