Assorted errors from Kotlin DSL experiment

Hi Dimitar,

Looks like you hit https://youtrack.jetbrains.com/issue/KT-18062

The bad effect of this issue is that IntelliJ is misguiding you when editing your plugin code from the IDE.
Hence the compilation errors when building from the command line.

I opened a pull-request against your plugin with the required fixes: https://github.com/ddimtirov/codacy-gradle-plugin/pull/3
Again, because of the mismatch between the actual compilation chain and what IntelliJ understands, it now works but you get errors in IntelliJ’s editor.

This is unfortunate but it is intended to be fixed in Kotlin IntelliJ Plugin 1.1.4 that should be out soon.
Please cast a vote on the KT issue above to show your interest.

HTH

3 Likes