I figured it out. It was the dependency management plugin:
dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:$springBootVersion")
}
dependencies {
... blah blah ...
}
In this POM, there is a kotlin.version
property that needs to be overridden like this:
ext['kotlin.version'] = kotlinVersion
Where kotlinVersion
is defined in my buildscript
block at the top of the file.