Skip to content

Is it possible to add compiler plugins to the server? #715

@RaphaelTarita

Description

@RaphaelTarita

As far as it is documented in the README file, I haven't found a way to add compiler plugins to the served compiler (similarly to adding dependencies). For example, if I want the compiler to support kotlinx-serialization, I can include the dependency like this:

dependencies {
    kotlinDependency("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2")
    // ...
}

but that's not enough because kotlinx-serialization needs the kotlin("plugin.serialization") compiler plugin as well.

I would assume that the plugins block of this project is not the correct location to add this plugin, since it would only be applied to the gradle project itself and not to the compiler that is served when the server is started.

Is such functionality currently implemented? If yes, how can I configure it? If no, are there plans to support compiler plugins?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions