Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Upgrade to Kotlin 1.2 [SPR-16239] #20786
Kotlin 1.2 has been released and provides useful syntax enhancements, faster compilation and multiplatform support. That's the version we are likely going to use for Spring Boot 2 and start.spring.io as well, so let's upgrade to it, potentially using
Reference URL: http://kotlinlang.org/docs/reference/compatibility.html
Sébastien Deleuze commented
I have asked Kotlin compiler team confirmation that it is safe for Spring Framework to build binaries with Kotlin 1.2 with
If their answer is yes, I plan to merge this commit.
If their answer is no, I think staying on Kotlin 1.1 in Spring Framework 5.0 and leveraging Kotlin 1.2 as of Spring Boot 2.0.RC1 and start.spring.io will be our best option, upgrading to Kotlin 1.2 in Spring Framework 5.1 timeframe.
In both case, I do think Spring Boot 2 and start.spring.io should leverages Kotlin 1.2.