Repository navigation
build: Import kotlin-bom so Wire gets a Kotlin 2 stdlib - #1425
Merged
Merged
Conversation
wire-runtime-jvm 6.3.0 and okio-jvm 3.17.0 are built against kotlin-stdlib 2.0.21, but Spring Boot 3.2.1 pins it to 1.9.21. Import kotlin-bom 2.0.21 before spring-boot-dependencies so its version wins, the same way jackson-bom is handled. Also drop the junit-jupiter.version, mockito.version and snakeyaml.version properties. Nothing references them, so the versions actually used come from Spring Boot and the properties only make it look like they are pinned.
Lokowandtg
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first step from the discussion in #1424.
Wire 6.3.0 is on main now, but Spring Boot 3.2.1 pins kotlin-stdlib to 1.9.21 while Wire and okio are built against 2.0.21. This imports kotlin-bom 2.0.21 before the Boot BOM, the same way we already do it for jackson-bom, so the right stdlib is used.
I also removed junit-jupiter.version, mockito.version and snakeyaml.version from the root pom. Nothing uses them, so Boot decides those versions anyway (we actually get JUnit 5.10.1, Mockito 5.7.0 and SnakeYAML 2.2). Keeping them around just makes it look like they are pinned. They'll come back properly when we replace the Boot BOM in a follow-up PR.
Tested locally: client, util, reactor and operations build and all unit tests pass, and kotlin-stdlib now resolves to 2.0.21 everywhere.