When update Compose from 1.10.0-alpha03 to 1.10.0-...
# compose
p
When update Compose from 1.10.0-alpha03 to 1.10.0-beta01 got several warnings while executing Gradle build tasks
Copy code
w: JVM Main Run Task Conflict
Target 'jvm': Unable to create run task 'jvmRun' as there is already such a task registered
Solution: Please remove the conflicting task or rename the new task
Any suggestions how to adopt? Or is it an issue? Using Kotlin 2.3.0-Beta2 and Gradle 9.2.0
r
This is expected because CMP in that version bundled Compose Hot Reload when you have desktop JVM target. I found a property to disable it, but I'm not sure if you can disable in user POV. The warning is a known issue of CMP until a stable release. https://github.com/JetBrains/compose-multiplatform/pull/5444 files =
Copy code
internal const val DISABLE_HOT_RELOAD = "org.jetbrains.compose.hot.reload.disable"
fun disableHotReload(providers: ProviderFactory): Provider<Boolean> =       providers.valueOrNull(DISABLE_HOT_RELOAD).toBooleanProvider(false)
thank you color 1
p
@Rey (Kingg22) thanks for info. If write this line in gradle.properties file:
Copy code
org.jetbrains.compose.hot.reload.disable=true
than hot reload will be disabled and no warnings will be issued.
compose hot reload 1