KotlinJvmAndroidCompilation with name 'main' not found
Trying to run a Compose Multi-Platform project. I set up a rust lib (already tested with an android project using JNI, it's working perfectly), then imported the uniffi plugin, added uniffi {...}
clause, first received error was this:
Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id
'org.jetbrains.kotlin.plugin.atomicfu' not found.
I fixed it by importing atomicfu v1.9.21
, now this error occurs:
Caused by: org.gradle.api.UnknownDomainObjectException: KotlinJvmAndroidCompilation with name 'main' not found.
I suppose this requires the plugin an update to support a newer of Kotlin, trying to debug it from my end didn't help.
Using kotlin v1.9.21
, Linux X64 System (if that helps).
Edited by Hocine Abdellatif Houari