icerockdev / moko-resources

Resources access for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
1.11k stars 122 forks source link

Can't build app with configuration cache enabled #785

Open dmitryskorbovenko opened 4 days ago

dmitryskorbovenko commented 4 days ago

Hello, guys. I ve tried to use moko resources but ve got the following error. Is there any workaround for it? Thanks moko version 0.24.3 multi module project

2024-11-13T01:25:52.015+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Configuration cache state could not be cached: field `__resourceDirsOutsideRootProjectDir__` of task `packageDebugResources` of type `com.android.build.gradle.tasks.MergeResources`: error writing value of type 'org.gradle.api.internal.provider.DefaultSetProperty'
2024-11-13T01:25:52.015+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Querying the mapped value of provider(java.util.Set) before task ':kmm:core:uiComponents:generateMRandroidMain' has completed is not supported
2024-11-13T01:25:52.015+0300 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
Alex009 commented 3 days ago

hi. can you reproduce this issue on samples?