Skip to content

Commit 06007c5

Browse files
committed
Update build configuration to ensure web assets are built before processing Android resources
1 parent 2aaf587 commit 06007c5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

app/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,11 @@ tasks.configureEach {
164164
}
165165
}
166166

167+
android.applicationVariants.all {
168+
val variantName = name.replaceFirstChar { it.uppercase() }
169+
170+
tasks.named("process${variantName}Resources") {
171+
dependsOn(webBuild)
172+
}
173+
}
167174

0 commit comments

Comments
 (0)