Commit 398f4de
committed
Align version catalog aliases with a shared convention
Renames version aliases so that each dependency has one canonical name,
matching the other Kotlin Multiplatform sample repositories. This makes
versions directly comparable across samples instead of hiding behind
several spellings of the same dependency.
The convention:
- One alias per independently-released dependency train, named after the
train rather than after one artifact in it.
- Lowercase kebab-case, with one exception: the android-compileSdk,
android-minSdk and android-targetSdk trio, which build scripts read as
libs.versions.android.compileSdk.
- The prefix says who ships it. compose-* for JetBrains multiplatform
artifacts (org.jetbrains.compose.*, org.jetbrains.androidx.*),
androidx-* for Google's Android-only ones. Several samples use both at
once, so the distinction has to be visible in the name.
The [versions] block is also sorted alphabetically.
No resolved dependency version changes: every rename keeps its value, and
aliases merged together already held identical versions.1 parent 0fc26c9 commit 398f4de
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
0 commit comments