-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Kotlin's bom to provide dependency management for Kotlin #9486
Comments
I would suggest renaming this issue to "Provide dependency management for Kotlin", add for the moment |
This commit adds Kotlin main artifacts to Spring Boot dependency management and will be replaced by Kotlin BOM when it will be available (see KT-18398). See spring-projectsgh-9486
This commit adds Kotlin main artifacts to Spring Boot dependency management and will be replaced by Kotlin BOM when it will be available (see KT-18398). See gh-9486
@wilkinsona Damned it seems we almost got it for Boot 2.0 but that will be for Boot 2.1 ;-) Could you please have a look to https://github.com/cy6erGn0m/kotlin-bom/blob/master/kotlin-lang/pom.xml, @cy6erGn0m would like some feedbacks and I prefer to ask to the real expert on that topic! |
Thanks for the ping @sdeleuze, I've created cy6erGn0m/kotlin-bom#1 |
Kotlin has a bom in 1.3 so we should be able to do this in 2.2. |
When will je be upgrading the Kotlin version to 1.3? We're using Spring Boot 2.1.0 starter right now, which sets the Kotlin version to 1.2.71, while the Bottom line: would be ideal if Spring Boot would be upgraded to use Kotlin 1.3.* as well. |
As shown by this issue being assigned to the 2.2.x milestone and my comment above, we intend to upgrade to Kotlin 1.3 in Spring Boot 2.2. |
The Spring Boot parent and dependency management sets a version for Kotlin, yes. You can easily override that as described in the documentation |
@oliemansm Spring Boot plugin is expected to leverage the Kotlin version defined with the |
Thanks all |
@wilkinsona Note that Kotlin will have bom only starting from 1.3.20, which hasn't been released yet. Although you can try the eap version, which has been published recently: |
Thanks to @sdeleuze, it looks like Kotlin is going to provide a bom. As part of our Kotlin story in 2.0, we should import the bom in
spring-boot-dependencies
.The text was updated successfully, but these errors were encountered: