Landerl Young
10/06/2021, 6:10 PM-xplugin
arguments to konanc, the compiler complains:
Caused by: java.lang.AbstractMethodError: Receiver class androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar does not define or inherit an implementation of the resolved method 'abstract void registerProjectComponents(com.intellij.mock.MockProject, org.jetbrains.kotlin.config.CompilerConfiguration)' of interface org.jetbrains.kotlin.compiler.plugin.ComponentRegistrar.
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli(KotlinCoreEnvironment.kt:610)
Strange thing is that the compiler plugin indeed implemented that method, and the compiler plugin is compiled against org.jetbrains.kotlin:kotlin-compiler:1.5.31
, also my konanc version is 1.5.31.
Any one have a clue? Thanks😃
PS:
my fork of androidx is here: https://github.com/LanderlYoung/androidx
the ComposeComponentRegistrar class is here: https://github.com/LanderlYoung/androidx/blob/d99c6ef82e67997b71b449840a8147f62f95[…]/java/androidx/compose/compiler/plugins/kotlin/ComposePlugin.kt