Commit 7b2e01c
authored
Bump okhttp to 5.1.0 (#440)
Bump okhttp to 5.1.0 and re-order dependency declarations so that the
Kotlin kernel for Jupyter will use the higher version of `okio`,
`3.15.0`, which is requested and required by `okhttp:5.1.0`, avoiding a
runtime failure.
The change in the buildscript is reflected in the library's published
`.pom` file. It appears that the kernel will pick the first seen version
of an artifact when traversing the dependencies and does not consider
dependency constraints. `okhttp` must be declared first in the pom file
and `moshi`, which depends on an older version of `okio`, must be
declared later.
This bump without re-ordering dependencies would result in a failure as
described in [Kotlin/kotlin-jupyter#484][issue] and seen in this [build
scan][failing-build] from #425.
[issue]: Kotlin/kotlin-jupyter#484
[failing-build]:
https://scans.gradle.com/s/3mvhfatr7gduy/tests/task/:library:examplesTest/details/com.gabrielfeo.develocity.api.example.notebook.NotebooksTest/testMostFrequentBuildsNotebook()?focused-execution=1&page=eyJvdXRwdXQiOnsiMCI6NH19&top-execution=1#L7951 parent 7e5eb95 commit 7b2e01c
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments