We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8183f commit 9a9602dCopy full SHA for 9a9602d
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/AndroidResources.kt
@@ -53,7 +53,9 @@ internal fun Project.configureAndroidComposeResources(
53
}
54
55
//https://issuetracker.google.com/348208777
56
- variant.sources.assets?.addStaticSourceDirectory(variantAssetsDir.get().asFile.path)
+ val staticDir = variantAssetsDir.get().asFile
57
+ staticDir.mkdirs()
58
+ variant.sources.assets?.addStaticSourceDirectory(staticDir.path)
59
tasks.configureEach { task ->
60
if (task.name == "merge${variant.name.uppercaseFirstChar()}Assets") {
61
task.dependsOn(copyVariantAssets)
0 commit comments