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
This commit is contained in:
1 parent
41843dedcb
commit
d93021ad52
1 file changed
+1
-3
+1
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user