I'm trying to upgrade compose multiplatform to `1....
# compose
b
I'm trying to upgrade compose multiplatform to
1.6.0-rc02
and I'm getting the following error in Gradle:
Copy code
A build operation failed.
    Querying the mapped value of provider(java.util.Set) before task ':appAndroid:copyCommonAndroidComposeResources' has completed is not supported
Querying the mapped value of provider(java.util.Set) before task ':appAndroid:copyCommonAndroidComposeResources' has completed is not supported
Tried to search here in Slack and didn't find anything. Any ideas of what's going on?
j
Sounds like something is fail parsing resources, like drawables or such. Do you get anything more in the error message?
d
Can you please create an Issue with minimal reproducible sample project on GitHub?
b
👍 1
I indeed have android flavors, so it would be too much coincidence
n
Hey, Sorry to bump! I’m experiencing a similar issue with Kotlin
2.0.0-RC1
and Compose Multiplatform
1.6.10-beta02
(to be able to use multimodule resources):
Copy code
Querying the mapped value of provider(java.util.Set) before task ':bard:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
    Querying the mapped value of provider(java.util.Set) before task ':business:common:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
    Querying the mapped value of provider(java.util.Set) before task ':business:user:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
    Querying the mapped value of provider(java.util.Set) before task ':common:resources:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
    Querying the mapped value of provider(java.util.Set) before task ':pub:app:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
    Querying the mapped value of provider(java.util.Set) before task ':user:app:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
    Querying the mapped value of provider(java.util.Set) before task ':user:ui:androidStagingDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
Can they be related? I have android flavours too.
I opened a GH issue because I couldn’t find one.