Is it safe to use multiple versions of `org.jetbra...
# gradle
m
Is it safe to use multiple versions of
org.jetbrains.kotlin:kotlin-gradle-plugin
in a Gradle multi-project build?
I.e. I want to compile one subproject with 1.2, another one with 1.3.
s
I’m pretty sure you can as long as each plugin is applied solely in their own scope of subprojects. The question you may want to consider is why.
m
Thanks Sam. I did some googling afterwards and came about https://youtrack.jetbrains.com/issue/KT-30276 which is slightly worrying. As for the why; parts of the project have to be compiled with 1.2 for bytecode compatibility reasons. Others need 1.3