How to exclude old version kotlin imported by Spring-boot dependencyManagement?

I’m upgrading my project to spring-boot 2.1.2.RELEASE, using dependencyManagement below:

dependencyManagement {
imports {

Full maven pom file link:

The pom imported kotlin 1.2.71, while I want kotlin 1.3.10.
So this caused “Runtime JAR files in the classpath should have the same version”, both 1.2.71 and 1.3.10 exists.

I’d like to hear your people’s solution. Thanks in advance.


ext[‘kotlin.version’] = “1.3.10”

Seems working now. Thank you :slight_smile: