I have a multi-project build, and more often than not I find myself locking versions for artifacts across the board. So in my root project I define something like:
build.gradle.kts root
buildscript { val kotlinVersion by rootProject.extra { "1.3.10" } ... }
build.gradle.kts module
dependencies { implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:${rootProject.extra.get("kotlinVersion")}") }
Official docs