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
Javier
05/23/2021, 2:50 PM
Applying it in the plugins block with the specific version in each module
b
Big Chungus
05/23/2021, 2:51 PM
Gradle complains when you set version on child module
Big Chungus
05/23/2021, 2:51 PM
Says you can only set version on root module
p
plastiv
05/23/2021, 3:26 PM
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
Big Chungus
05/23/2021, 3:27 PM
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