-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate hardcoded dependencies to version catalog #82
Conversation
app/build.gradle
Outdated
|
||
implementation 'com.github.kirich1409:viewbindingpropertydelegate-noreflection:1.5.9' | ||
implementation(libraries.viewbinding.property.delegate) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation(libraries.viewbinding.property.delegate) | |
implementation(libraries.viewbinding.property.delegate.noreflection) |
app/build.gradle
Outdated
|
||
implementation 'dev.arkbuilders:arkfilepicker:0.1.1' | ||
implementation 'dev.arkbuilders:arklib:0.3.3' | ||
implementation(libraries.arkbuilder.arkfilepicker) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation(libraries.arkbuilder.arkfilepicker) | |
implementation(libraries.arkbuilders.arkfilepicker) |
app/build.gradle
Outdated
implementation 'dev.arkbuilders:arkfilepicker:0.1.1' | ||
implementation 'dev.arkbuilders:arklib:0.3.3' | ||
implementation(libraries.arkbuilder.arkfilepicker) | ||
implementation(libraries.arkbuilder.arklib) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation(libraries.arkbuilder.arklib) | |
implementation(libraries.arkbuilders.arklib) |
gradle/libs.versions.toml
Outdated
androidx-test-espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "androidXTestEspresso" } | ||
skydoves-balloon = { group = "com.github.skydoves", name = "balloon", version.ref = "skydovesBalloon" } | ||
flexbox = { group = "com.google.android.flexbox", name = "flexbox", version.ref = "flexbox" } | ||
arkbuilder-arkfilepicker = { group = "dev.arkbuilders", name = "arkfilepicker", version.ref = "arkFilepicker" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arkbuilder-arkfilepicker = { group = "dev.arkbuilders", name = "arkfilepicker", version.ref = "arkFilepicker" } | |
arkbuilders-arkfilepicker = { group = "dev.arkbuilders", name = "arkfilepicker", version.ref = "arkFilepicker" } |
gradle/libs.versions.toml
Outdated
skydoves-balloon = { group = "com.github.skydoves", name = "balloon", version.ref = "skydovesBalloon" } | ||
flexbox = { group = "com.google.android.flexbox", name = "flexbox", version.ref = "flexbox" } | ||
arkbuilder-arkfilepicker = { group = "dev.arkbuilders", name = "arkfilepicker", version.ref = "arkFilepicker" } | ||
arkbuilder-arklib = { group = "dev.arkbuilders", name = "arklib", version.ref = "arkLib" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arkbuilder-arklib = { group = "dev.arkbuilders", name = "arklib", version.ref = "arkLib" } | |
arkbuilders-arklib = { group = "dev.arkbuilders", name = "arklib", version.ref = "arkLib" } |
gradle/libs.versions.toml
Outdated
fastadapter = { group = "com.mikepenz", name = "fastadapter", version.ref = "fastadapter" } | ||
fastadapter-extensions-binding = { group = "com.mikepenz", name = "fastadapter-extensions-binding", version.ref = "fastadapter" } | ||
fastadapter-extensions-diff = { group = "com.mikepenz", name = "fastadapter-extensions-diff", version.ref = "fastadapter" } | ||
arklib = { group = "dev.arkbuilders", name = "arklib", version.ref = "arkLib" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is redundant, should be removed
gradle/libs.versions.toml
Outdated
arklib = { group = "dev.arkbuilders", name = "arklib", version.ref = "arkLib" } | ||
orbit-mvi-viewmodel = { group = "org.orbit-mvi", name = "orbit-viewmodel", version.ref = "orbitMvi" } | ||
orbit-mvi-compose = { group = "org.orbit-mvi", name = "orbit-compose", version.ref = "orbitMvi" } | ||
viewbinding-property-delegate = { group = "com.github.kirich1409", name = "viewbindingpropertydelegate-noreflection", version.ref = "viewbindingPropertyDelegate" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
viewbinding-property-delegate = { group = "com.github.kirich1409", name = "viewbindingpropertydelegate-noreflection", version.ref = "viewbindingPropertyDelegate" } | |
viewbinding-property-delegate-noreflection = { group = "com.github.kirich1409", name = "viewbindingpropertydelegate-noreflection", version.ref = "viewbindingPropertyDelegate" } |
4d49920
to
24b1b08
Compare
24b1b08
to
2efdc79
Compare
2efdc79
to
4122a0c
Compare
@shubertm This PR's branch is managed in rebase-based strategy. |
ffcb98a
to
4122a0c
Compare
4122a0c
to
12a782b
Compare
So, would you please fix all issues I requested. Not all are fixed. |
@shubertm You mean the changes you requested above? |
Yes, the redundant dependency |
@shubertm |
Yes, but in |
12a782b
to
510a0e3
Compare
@shubertm That's a good catch! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now 🚀
Migrate hardcoded dependencies to version catalog.
[Gradle version catalogs](https://docs.gradle.org/current/userguide/platforms.html) enable you to add and maintain dependencies and plugins in a scalable way. Using Gradle version catalogs makes managing dependencies and plugins easier when you have [multiple modules](https://developer.android.com/topic/modularization). Instead of hardcoding dependency names and versions in individual build files and updating each entry whenever you need to upgrade a dependency, you can create a central version catalog of dependencies that various modules can reference in a type-safe way with Android Studio assistance.
https://app.asana.com/0/1207819682524134/1208308884950165
https://developer.android.com/build/migrate-to-catalogs