Conversation
- Replace ben-manes.versions and use-latest-versions plugins with nl.littlerobots.version-catalog-update - Create gradle/libs.versions.toml for centralized dependency management - Update build.gradle to use version catalog references (libs.*) - Update Configure.pl to use versionCatalogUpdate command - Update .gitignore to track libs.versions.toml - Move DEPENDENCY_UPDATES.md to dev/design/ with updated documentation Benefits: - Full configuration cache compatibility (no need to disable features) - Cleaner, more maintainable dependency management - Type-safe dependency references with IDE autocomplete - Modern Gradle best practice approach
b66596e to
4284385
Compare
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.
Summary
This PR migrates the project from the old dependency update plugins to Gradle Version Catalogs, which are fully compatible with Gradle's configuration cache.
Changes
libs.asm,libs.junit.jupiter.api)useLatestVersionstoversionCatalogUpdatecommandlibs.versions.tomlDEPENDENCY_UPDATES.md→dev/design/DEPENDENCY_UPDATES.mdwith updated instructionsBenefits
✅ Configuration cache fully enabled - No need to disable features or use
--no-configuration-cacheflag✅ Cleaner dependency management - All versions centralized in one TOML file
✅ Type-safe references - IDE autocomplete for dependencies
✅ Modern best practice - Gradle's recommended approach for dependency management
✅ Easier updates - Simple command:
./gradlew versionCatalogUpdateTesting
Configure.pl --upgradeworks with new commandUsage
See
dev/design/DEPENDENCY_UPDATES.mdfor complete documentation.