``` plugins { java kotlin("jvm") version "...
# gradle
j
Copy code
plugins {
    java
    kotlin("jvm") version "1.2.50"
    id("org.jetbrains.kotlin.plugin.spring") version "1.2.50"
    id("org.springframework.boot") version "2.0.3.RELEASE"
    id("io.spring.dependency-management") version "1.0.5.RELEASE"
}
c
My approach is: define all versions in constants in
object Versions
in buildSrc, then configure them from settings.gradle.kts
As an alternative, you could put versions in gradle.properties and configure them from settings.gradle.kts
s
I am using gradle.properties, but a slightly different way, https://github.com/sureshg/kotlin-scratchpad/blob/master/build.gradle.kts#L8
j
@Czar I see what you mean, but it's surprising that such a workaround is required for something I would have expected to be simple
c
yup, I share your pain. You could go to gradle issue tracker and vote on relevant issues, there are a couple.