Commit 42b75b5
committed
refactor(deps): Adopt Gradle version catalog for plugins
This commit refactors the Gradle build scripts to consistently use the version catalog for defining plugins.
Key changes include:
- In the root `build.gradle.kts`, plugin aliases have been renamed for clarity (`jetbrains-kotlin-android` to `kotlin-android` and `compose-compiler` to `kotlin-compose`).
- The `app/build.gradle.kts` now uses `alias(libs.plugins.*)` instead of hardcoded `id("...")` strings for the Android application, Kotlin Android, and Kotlin Compose plugins.
- The `compileSdk` declaration in `app/build.gradle.kts` has been updated to use a more modern syntax.1 parent 936cc00 commit 42b75b5
File tree
3 files changed
+10
-9
lines changed- app
- gradle
3 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
126 | 126 | | |
0 commit comments