I would like to come up with some empirical evidence for, or against, migrating spring boot 2.7.x to kotlin >= 1.7.x.
Looking at the spring boot documentation, kotlin version 1.6.21 is listed. However, in some of the spring examples listed, point to at least kotlin 1.7.X less than one month after release.
Gradle has a pretty good compatibility matrix for kotlin usage, of which doesn't even list the current version that comes standard on the spring Initializer start.spring.io
Kotlin Version | Gradle min and max versions |
---|---|
1.8.20 | 6.8.3 – 7.6.0 |
1.8.0 | 6.8.3 – 7.3.3 |
1.7.20 | 6.7.1 – 7.1.1 |