diff --git a/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/PokoCompilerPluginRegistrar.kt b/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/PokoCompilerPluginRegistrar.kt index 0fd551b6..7cabeb23 100644 --- a/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/PokoCompilerPluginRegistrar.kt +++ b/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/PokoCompilerPluginRegistrar.kt @@ -6,10 +6,10 @@ import dev.drewhamilton.poko.BuildConfig.DEFAULT_POKO_ENABLED import dev.drewhamilton.poko.fir.PokoFirExtensionRegistrar import dev.drewhamilton.poko.ir.PokoIrGenerationExtension import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension -import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys import org.jetbrains.kotlin.cli.common.messages.MessageCollector import org.jetbrains.kotlin.compiler.plugin.CompilerPluginRegistrar import org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi +import org.jetbrains.kotlin.config.CommonConfigurationKeys import org.jetbrains.kotlin.config.CompilerConfiguration import org.jetbrains.kotlin.fir.extensions.FirExtensionRegistrarAdapter import org.jetbrains.kotlin.name.ClassId @@ -27,7 +27,7 @@ public class PokoCompilerPluginRegistrar : CompilerPluginRegistrar() { val pokoAnnotationString = configuration.get(CompilerOptions.POKO_ANNOTATION, DEFAULT_POKO_ANNOTATION) val pokoAnnotationClassId = ClassId.fromString(pokoAnnotationString) val messageCollector = configuration.get( - CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, + CommonConfigurationKeys.MESSAGE_COLLECTOR_KEY, MessageCollector.NONE, )