Skip to content

Auto-update dependencies.#678

Merged
thatfiredev merged 1 commit into
masterfrom
dpebot-repositorygardener
May 6, 2026
Merged

Auto-update dependencies.#678
thatfiredev merged 1 commit into
masterfrom
dpebot-repositorygardener

Conversation

@dpebot
Copy link
Copy Markdown
Collaborator

@dpebot dpebot commented May 6, 2026

Brought to you by your friendly Repository Gardener.

@dpebot dpebot added the automerge Summon MOG for automerging label May 6, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Android Gradle Plugin (AGP) version from 9.2.0 to 9.2.1 across the entire repository, including the version catalog and numerous build.gradle.kts files. Feedback focuses on improving maintainability by refactoring the project to use the Gradle Version Catalog globally, specifically suggesting the use of the alias syntax to avoid hardcoding version strings in multiple locations.

Comment thread gradle/libs.versions.toml
@@ -1,5 +1,5 @@
[versions]
agp = "9.2.0"
agp = "9.2.1"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The Android Gradle Plugin version is being updated here, but it remains hardcoded in over 20 build.gradle.kts files across the repository. To improve maintainability and ensure that future updates only need to be made in one place, consider refactoring the project to use the Version Catalog globally (e.g., by converting subdirectories into proper Gradle subprojects or using shared build logic).

Comment thread build.gradle.kts
plugins {
id("com.android.application") version "9.2.0" apply false
id("com.android.library") version "9.2.0" apply false
id("com.android.application") version "9.2.1" apply false
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The root build.gradle.kts already uses a Version Catalog for other plugins. Since androidApplication is defined in gradle/libs.versions.toml, you should use the alias syntax here to avoid hardcoding the version string and maintain consistency with plugins like composeCompiler. Additionally, consider adding the com.android.library plugin to the catalog to allow using an alias for it as well.

    alias(libs.plugins.androidApplication) apply false

@thatfiredev thatfiredev merged commit 17ab464 into master May 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Summon MOG for automerging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants