Kotlin Compiler: Bad performance in multi maven module project
Hello Everybody!
We are in the process of migrating from Java to Kotlin.
In the process, we ran into a problem where even a single Kotlin file in a module noticeably slows down the compilation process for that module.
For demonstration purposes, we created a simple multi-Maven module project that looks like this:
parent.
Module a
Module b
Module c
With 100 Java files and 0 Kotlin files in module a, the following result is obtained:
[INFO] a … SUCCESS [ 2.069 s ]
[INFO] b … SUCCESS [ 0.350 s]...