How to solve gradle sync while adding KMM shared module?
I am trying to add KMM shared module on an existing Android project. I used KMM plugin on Android Studio and after adding the module I have got the below sync error. Here are the logs of the error
e: /shared/build.gradle.kts
68: An annotation argument must be a compile-time constant
e: /shared/build.gradle.kts
636: Unresolved reference: ExperimentalKotlinGradlePluginApi
e: /shared/build.gradle.kts
85: Unresolved reference: targetHierarchy
FAILURE: Build failed with an exception.
*...