ktor-docs-plugin icon indicating copy to clipboard operation
ktor-docs-plugin copied to clipboard

Exception during build

Open bpappin opened this issue 7 months ago • 2 comments

Once installed, attempting to build generates this exception. It looks to me like the plugin has not been updated to current gradle or kmp versions.

java.lang.NoSuchFieldError: Class org.jetbrains.kotlin.config.JVMConfigurationKeys does not have member field 'org.jetbrains.kotlin.config.CompilerConfigurationKey IR' at io.github.tabilzad.ktor.KtorMetaPluginRegistrar.registerExtensions(KtorMetaPluginRegistrar.kt:26) at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli_base(KotlinCoreEnvironment.kt:768)

bpappin avatar May 24 '25 11:05 bpappin

It looks like 0.8.2-alpha may have resolved this. I'll close the ticket once i can confirm.

bpappin avatar May 24 '25 12:05 bpappin

yep, the IR configuration key has been removed starting from v0.8.0 - once the kotlin compiler was updated.

tabilzad avatar May 25 '25 01:05 tabilzad

Closing, please re-open if you can repro on latest version

tabilzad avatar Jun 17 '25 16:06 tabilzad