Hey <@UF3V7CF4M>, Been loving the hotreload work y...
# compose-desktop
d
Hey @Sebastian Sellmair [JB], Been loving the hotreload work you have put together and all the great youtube videos outlining how its done. While this works great for me on small projects, I'm having issues with my 9-5 where we have configuration caching enabled.. I end up getting
Copy code
* What went wrong:
Could not load the value of field `builtBy` of `org.jetbrains.kotlin.gradle.utils.ConfigurationCacheOpaqueValue` bean found in field `value` of `org.gradle.internal.Try$Success` bean found in field `value` of `org.gradle.api.internal.provider.DefaultValueSourceProviderFactory$DefaultObtainedValue` bean found in field `obtainedValue` of `org.gradle.internal.cc.impl.fingerprint.ConfigurationCacheFingerprint$ValueSource` bean found in Gradle runtime.
> org.jetbrains.kotlin.gradle.internal.IsInIdeaEnvironmentValueSource$Inject
Let me know if you would like more of a formal ticket somewhere in either youtrack or github.
a
it is already reported https://github.com/JetBrains/compose-hot-reload/issues/89 and I've fixed it for Kotlin 2.1.20 (which is not released yet)
d
oh fantastic, thank you
s
Another way of resolving this is to clean the .gradle folder or disable Gradle's configuration cache (at the price of having slow reload times 😢 )
d
ha yeah, it ends up being slower than just recompiling with configuration caching enabled