Commit bcef3ec
committed
Align ASM and Kotlin stdlib versions across modules
The classpath partition cache (~/.rewrite/classpath/.partitions) keys by
exact GAV, so each distinct resolved version of an artifact produces its
own partition file. Two sources of accidental version drift across the
multi-module build were each producing duplicate partitions:
- ASM: gizmo (in rewrite-core) pins asm-util/-tree/-analysis to 9.3
transitively. rewrite-java requests asm/asm-util at latest.release as
`implementation`, but that does not propagate to project consumers, so
modules consuming :rewrite-java (rewrite-java-21/-25, rewrite-yaml/json/
etc.) keep the 9.3 transitive while still bumping `asm` itself to 9.9.1.
Declaring all four asm artifacts at latest.release in rewrite-core (where
gizmo lives) lets conflict resolution bump them in lockstep everywhere.
- Kotlin stdlib: rewrite-kotlin's clikt 3.5.0, rewrite-gradle's
mockwebserver 4.x, and rewrite-maven's maven-resolver each drag the
deprecated kotlin-stdlib-jdk7/-jdk8/-common artifacts in at older
versions (1.6.20 / 1.9.10 / 1.8.21) that the main kotlin-stdlib does
not align. Applying kotlin-bom as a test platform constrains the whole
family to a single Kotlin version per module.1 parent 090c2ad commit bcef3ec
4 files changed
Lines changed: 22 additions & 0 deletions
File tree
- rewrite-core
- rewrite-gradle
- rewrite-kotlin
- rewrite-maven
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments