Skip to content

Commit

Permalink
chore: update task registration for copy common flavor resource
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Jul 30, 2024
1 parent e377ba5 commit a31a1e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ tasks.register("cleanCopiedCommonResourcesToFlavor") {
*
* NOTE: Current limitation is that multiple resources directories are not supported.
*/
tasks.named("prepareComposeResourcesTaskForCommonMain").configure {
tasks.named("preBuild").configure {
dependsOn("copyCommonResourcesToFlavor")
}

tasks.named("clean").configure {
dependsOn("copyCommonResourcesToFlavor")
}

Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ android.useAndroidX=true
kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.mpp.enableCInteropCommonization=true

organization=dw

0 comments on commit a31a1e6

Please sign in to comment.