Vladimir
07/11/2024, 4:31 PMbuild.gradle.kts
to the centralized libs.versions.toml
version catalog.
I have done so by letting Android Studio do the work for me by mashing the alt + enter
keys for every highlighted dependency inside the build.gradle.kts
file.
However, when all was said and done, looking at what the Android Studio has done, I have some doubts and concerns.
For instance:
[versions]
activityKtx = "1.9.0"
[libraries]
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityKtx" }
androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "activityKtx" }
Now, I am not entirely sure if it is actually correct that androidx-activity-compose
depends on the same version reference as activity-ktx
and also shares the same version name (activityKtx
)?
Looking at the Google docs, they seem to be shipped together:
androidx.activity:activity:1.9.0, androidx.activity:activity-compose:1.9.0, and androidx.activity:activity-ktx:1.9.0 are released. Version 1.9.0 contains these commits.
But still, it worries me somewhat? Is this correct?Daniel Pitts
07/11/2024, 4:35 PMandroidx-activity = "1.9.0"
.Daniel Pitts
07/11/2024, 4:36 PMVladimir
07/11/2024, 4:36 PMChris Lee
07/11/2024, 6:46 PM