1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 18:43:33 +02:00

make more tasks depend on zipRepoAssets

This commit is contained in:
leo60228 2023-09-07 18:54:54 -04:00 committed by Misa Elizabeth Kai
parent c84bc14122
commit e170d19e16

View File

@ -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
}
}