Updated Dependencies for compose 1.11.1#911
Conversation
There was a problem hiding this comment.
Code Review
This pull request migrates hardcoded compileSdk and targetSdk versions across multiple modules to use the central version catalog and updates several library dependencies, including Compose, Paging, and Wear components. Feedback was provided regarding the use of .toInt() for SDK versions, which could cause issues if a non-integer preview SDK string is used in the version catalog.
| compileSdk { | ||
| version = release(37) | ||
| } | ||
| compileSdk = libs.versions.compileSdk.get().toInt() |
There was a problem hiding this comment.
The replacement of the compileSdk block with a direct assignment using .toInt() might lead to issues if the version catalog value is ever changed to a non-integer string (e.g., for a preview SDK like 'android-38'). While it works for the current value '37', consider using a more flexible approach if preview SDK support is required, as the previous release(37) helper likely handled this abstraction.
Updated dependencies