when using the kotlin gradle dsl is it finally pos...
# gradle
t
when using the kotlin gradle dsl is it finally possible to make versions like used here global so i dont have to change 423852311 occurances of them on an update?
Copy code
plugins {
    kotlin("multiplatform") version "1.3.41"
}
d
You can use
buildSrc
or
buildscript
.
t
i mean are there less limitations when using the kotlin dsl over the original groovy?
g
it’s still limited
It will be finally fixed in 5.6 by introduction settings.gradle plugins version API
Also, are you talking about kotlin plugin version or in general? Because Kotlin plugin version is enough, you can omit version of dependencies
t
no, unfortunately we are also using other plugins. in general version management isn't fun with gradle, i think. but good to know, that at least for kotlin related dependencies it can be easier 🙂
g
with buildSrc is a lot easier, you can share versions even for plugins now
t
ight i will have a look 🙂
thank you!