Browse Source
Currently when `org.gradle.configuration-cache=true` we have an error: > Configuration cache state could not be cached: field `resourceFiles` of task `:shared:syncComposeResourcesForIos` of type `org.jetbrains.compose.experimental.uikit.tasks.SyncComposeResourcesForIosTask`: error writing value of type 'org.gradle.api.internal.provider.TransformBackedProvider' Old description (can be ignored): _This PR attempts to fix it in SyncComposeResourcesForIosTask by wrapping inputs into providers. It seems that gradle configuration cache doesn't like some provider types produced by `.map`, `.zip`, `.orElse`, etc._ **Latest description:** With configuration cache enabled, gradle runs all `orElse` providers during configuration (I don't know why yet). We used to throw an exception in `orElse` which led to the crash. This PR refactors SyncComposeResourcesForIosTask so it doesn't throw an exception immediately in orElse, but postpones it to later step.pull/3777/head
Oleksandr Karpovich
1 year ago
committed by
GitHub
2 changed files with 26 additions and 13 deletions
Loading…
Reference in new issue