Skip to content
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

Move build versions to catalog #1754

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Move build versions to catalog #1754

wants to merge 4 commits into from

Conversation

gabrielfeo
Copy link
Member

Move build versions to a version catalog so that they're properly picked up by Dependabot.

@gabrielfeo gabrielfeo requested a review from a team January 14, 2025 13:39
Comment on lines 8 to 10
android-tools-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "android-gradlePlugin" }
android-tools-common = { module = "com.android.tools:common", version.ref = "android-sdkBuildTools" }
android-tools-sdkCommon = { module = "com.android.tools:sdk-common", version.ref = "android-sdkBuildTools" }
Copy link
Member

Choose a reason for hiding this comment

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

What do you think about this?

Suggested change
android-tools-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "android-gradlePlugin" }
android-tools-common = { module = "com.android.tools:common", version.ref = "android-sdkBuildTools" }
android-tools-sdkCommon = { module = "com.android.tools:sdk-common", version.ref = "android-sdkBuildTools" }
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "android-gradlePlugin" }
android-common = { module = "com.android.tools:common", version.ref = "android-sdkBuildTools" }
android-sdkCommon = { module = "com.android.tools:sdk-common", version.ref = "android-sdkBuildTools" }

Copy link
Member Author

Choose a reason for hiding this comment

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

That's better. ddc42aa

Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason you didn't do this for the build plugins too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks! No reason, it just didn't occur to me. I've now moved plugins from build.gradle.kts (0c7d6f9) and a constraint (3efd16d) to the catalog.

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