to the dependencies and updated the import. The build fails with the following error. Is there a fix for this?
Task :sample:counter:app-android:compileDebugKotlin FAILED
w: Flag is not supported by this version of the compiler: -Xallow-jvm-ir-dependencies
This build uses unsafe internal compiler arguments:
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
e: Classes compiled by an unstable version of the Kotlin compiler were found in dependencies. Remove them from the classpath or use '-Xallow-unstable-dependencies' to suppress errors
e: /home/aivanov/dev/workspace/Decompose/sample/counter/app-android/src/main/java/com/arkivanov/counter/app/MainActivity.kt: (39, 9): Class'androidx.activity.compose.ComponentActivityKt' is compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compiler