Migrate build configuration to Gradle Version Catalogs#886
Open
iscle wants to merge 1 commit intoFoedusProgramme:betafrom
Open
Migrate build configuration to Gradle Version Catalogs#886iscle wants to merge 1 commit intoFoedusProgramme:betafrom
iscle wants to merge 1 commit intoFoedusProgramme:betafrom
Conversation
- Create `gradle/libs.versions.toml` containing all project versions, libraries, and plugins. - Refactor `build.gradle.kts` files across the project (`app`, `baselineprofile`, `hificore`, etc.) to use `libs` type-safe accessors. - Replace hardcoded dependency strings and version variables with catalog aliases. - Update plugin declarations to use the `alias()` syntax.
Member
|
Hi, there's a reason that we're not using version catalog on gramophone, that is it is only convenient in large projects containing multiple libraries which require unified dependency version. Gramophone is not the suitable case apparently |
Author
|
Thanks for the reply! I think that even for small projects it's a good QoL improvement. It removes clutter from the build.gradle.kts file and helps keeping everything organized in its own file. But of course, this comes down to developer preference! Feel free to close the pr if it's not something you're interested in :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR migrates the built do use Version Catalogs for easier library management.
No actual versions were changed, they have all been kept the same as before.