Edit: Solved here
Hi!
I upgraded the Kotlin plugin for IntelliJ to version 1.1.0. I also changed the dependencies and gradle plugin version.
This is my build.gradle. Context: I am creating a plugin for a Minecraft server software/API named ‘Sponge’, it’s like Bukkit if you know that.
The problem I face is this one. It happens when I build the project. When I comment the kapt
line out the build succeeds. Here is the annotation processor of the API ‘Sponge’, if that’s needed.
I can workaround this problem by deleting the default ‘additional command line parameters’ of the module(Project structure > Modules > 'select main module' > Additional command line parameters
) which includes something of kapt. Here are the dafault parameters. But the parameters come back after a Gradle refresh, so I have to re-delete them again.
The problem doesn’t occur in plugin version 1.0.6.