v

    Victor Ermolaev

    11 months ago
    Hi there, I am developing a compiler plugin and, to test it, it has to be invoked together with the serialization plugin. I have currently this
    val compilation = KotlinCompilation()
      .apply {
        sources = listOf(source)
        compilerPlugins = listOf(MyPlugin())
    
        inheritClassPath = true
        messageOutputStream = System.out
      }
      .compile()
    I use kotlin-compile-testing, what do I need to add to the list of the compiler plugins to also invoke the serialization plugin?
    j

    jw

    11 months ago
    Looks like
    org.jetbrains.kotlinx.serialization.compiler.extensions.SerializationComponentRegistrar
    v

    Victor Ermolaev

    11 months ago
    oh, i will give it a go, thanks!