Because projects at different levels of the project tree might be
scripted with either Groovy or Kotlin and it is of essence that they all
see the Kotlin runtime libraries types as coming from the same
ClassLoader.
See gradle/gradle-script-kotlin#137
+review REVIEW-6279
Multiple Kotlin based subprojects, all of them sharing the same version of the kotlin-gradle-plugin while being able to:
allprojectsblock