Hello. I’m integrating Kotlin with the Pants build...
# compiler
t
Hello. I’m integrating Kotlin with the Pants build tool. I had an integration question: How should compiler plugins be provided to the compiler? (in my specific case,
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler
) Must it be a jar from under
KOTLIN_HOME
or are plugin jars available on Maven Central for resolution with Coursier?
context: I had tried to enable the serialization plugin but could not seem to get it to work even with the classpath augmented with the plugin jar and deps, nor if the plugin classpath was provided by
-Xplugin
. The plugin jar and deps came from a Cousier resolution.
also please let me know if there is a better channel for asking such questions. #build-tools seems focused on users of build tools and not maintainers of build tools.