Kotlin plugin asks to be added to the root project as well but doing so makes the build crash!

See the comment on the issue describing the root cause and the workaround: https://youtrack.jetbrains.com/issue/KT-31643#focus=streamItem-27-3510019.0-0