I know this is a total non-issue, but why does adding kotlin to a `build.gradle` require so many ste...
n
I know this is a total non-issue, but why does adding kotlin to a
build.gradle
require so many steps? Groovy, for example, only requires
apply plugin: 'groovy'
. Just curious about this
a
are you talking about the
buildscript { ... }
stuff or
kotlin { ... }
?
n
The
buildscript
block. Does that enable the
kotlin
block?
a
because groovy is bundled with gradle (gradle is written in groovy). in order to get kotlin running you need to tell gradle where to find the gradle-kotlin-plugin
n
Ah, I see. I knew Gradle was written in Groovy, but I had forgotten that they bundled the entire Groovy plugin with it. I wonder if Kotlin could be bundled, too..
a
your
build.gradle
is just ordinary groovy code
n
They could do that without bundling the groovy plugin. I think it's two separate things
a
Theoretically kotlin could be bundled with gradle, but the question is why should they bundle kotlin and not scala or clojure?