Is it possible to apply different versions of kotl...
# gradle
b
Is it possible to apply different versions of kotlin plugin between gradle modules? E.g. kotlin 1.4 on root module, but kotlin 1.2 on root:child module?
🤔 1
j
Applying it in the plugins block with the specific version in each module
b
Gradle complains when you set version on child module
Says you can only set version on root module
p
It is likely possible with included build setup. Although in practice, what do you expect to achieve? Including child kotlin 1.2 to root module will use 1.4 kotlin anyway
b
Yeah, i have one module that just must use 1.2 due to some old framework we're using. Bumping that to 1.4 is not an option. All the other modules have no such dependencies, so it'd be great to bump them to 1.4
p
Check if converting child module to included build (will allow to define own settings.gradle and redeclare kotlin 1.2 plugin) is what you are looking for https://docs.gradle.org/current/userguide/composite_builds.html
j
You can't change the root to be a child one?