Skip to content

Commit

Permalink
[gradle] Create an empty resource dir with "podspec" task instead "po…
Browse files Browse the repository at this point in the history
…dInstall".
  • Loading branch information
terrakok committed May 30, 2024
1 parent bf47d0b commit b64de00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ internal fun Project.configureSyncIosComposeResources(
val syncDir = podFramework.getFinalResourcesDir().get().asFile.relativeTo(projectDir)
val specAttr = "['${syncDir.path}']"
extraSpecAttributes["resources"] = specAttr
project.tasks.named("podInstall").configure {
project.tasks.named("podspec").configure {
it.doFirst {
if (extraSpecAttributes["resources"] != specAttr) error(
"""
Expand Down

0 comments on commit b64de00

Please sign in to comment.