From e170d19e16a1dffd3ebb126c441ecb72619f1542 Mon Sep 17 00:00:00 2001 From: leo60228 Date: Thu, 7 Sep 2023 18:54:54 -0400 Subject: [PATCH] make more tasks depend on zipRepoAssets --- desktop_version/VVVVVV-android/app/build.gradle | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/desktop_version/VVVVVV-android/app/build.gradle b/desktop_version/VVVVVV-android/app/build.gradle index 08ab20c7..1bbdc84e 100644 --- a/desktop_version/VVVVVV-android/app/build.gradle +++ b/desktop_version/VVVVVV-android/app/build.gradle @@ -2,8 +2,7 @@ def buildAsLibrary = project.hasProperty('BUILD_AS_LIBRARY'); def buildAsApplication = !buildAsLibrary if (buildAsApplication) { apply plugin: 'com.android.application' -} -else { +} else { apply plugin: 'com.android.library' } @@ -31,7 +30,7 @@ android { } applicationVariants.all { variant -> tasks["merge${variant.name.capitalize()}Assets"] - .dependsOn("externalNativeBuild${variant.name.capitalize()}") + .dependsOn("externalNativeBuild${variant.name.capitalize()}") } if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) { sourceSets.main { @@ -97,7 +96,7 @@ project.android.applicationVariants.configureEach { variant -> } afterEvaluate { - [lintVitalReportRelease, lintVitalAnalyzeRelease].each { task -> + [lintReportDebug, lintAnalyzeDebug, lintReportRelease, lintAnalyzeRelease, lintVitalReportRelease, lintVitalAnalyzeRelease].each { task -> task.dependsOn zipRepoAssetsTask } }