Skip to content

Move common-util and common-deps dependencies to a version catalog#3026

Open
KlyneChrysler wants to merge 1 commit into
google:mainfrom
KlyneChrysler:build/2968-catalog-01-common
Open

Move common-util and common-deps dependencies to a version catalog#3026
KlyneChrysler wants to merge 1 commit into
google:mainfrom
KlyneChrysler:build/2968-catalog-01-common

Conversation

@KlyneChrysler

Copy link
Copy Markdown

First slice of #2968, following the guidance in #3025 and #2989 to migrate module by module with only a couple of dependencies at a time.

This introduces gradle/libs.versions.toml with kotlin-stdlib and junit, and switches common-util and common-deps to catalog accessors. Nothing is removed from gradle.properties yet because other modules still read those properties.

Verified locally with ./gradlew :common-util:compileTestKotlin :common-deps:compileTestKotlin.

The remaining modules are prepared as equally small follow-up slices and I will submit them one at a time as each PR lands, so every review stays small.

First slice of google#2968, migrating module-by-module as discussed in google#2989.
Introduces gradle/libs.versions.toml with kotlin-stdlib and junit;
junitVersion and kotlinBaseVersion stay in gradle.properties while
other modules still read them.
@KlyneChrysler KlyneChrysler force-pushed the build/2968-catalog-01-common branch from bd04c91 to 43622d4 Compare July 8, 2026 18:11

@jaschdoc jaschdoc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! @hfmehmed, could you double check this to make sure everything works exactly as before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants