main.seskar.compiler.union.extensions.UnionRegistrar.kt Maven / Gradle / Ivy
package seskar.compiler.union.extensions
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.compiler.plugin.CompilerPluginRegistrar
import org.jetbrains.kotlin.config.CompilerConfiguration
class UnionRegistrar : CompilerPluginRegistrar() {
override val supportsK2: Boolean = false
override fun ExtensionStorage.registerExtensions(
configuration: CompilerConfiguration,
) {
IrGenerationExtension.registerExtension(UnionTransformExtension())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy