Skip to content

Maintain and modernize the Android build system - #242

Merged
Xtr126 merged 5 commits into
devfrom
codex/build-system-maintenance
Nov 12, 2026
Merged

Xtr126 merged 5 commits into
devfrom
codex/build-system-maintenance

Conversation

@Xtr126

@Xtr126 Xtr126 commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Upgrade Android Gradle Plugin to 9.5.1, Gradle to 9.6.0, and NDK to 30.0.16248370.
  • Add a Gradle version catalog and migrate all Gradle build scripts to Kotlin DSL.
  • Point Dependabot at the root version catalog.
  • Rename the release APK in the release workflow using the app version.

Verification

  • No local validation run, as requested.

Summary by CodeRabbit

  • Release Packaging
    • Release downloads are now provided as APK files with the app version in the filename, rather than a generically named ZIP. This makes the release version easier to identify when viewing or saving the download.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d2fffb75-677c-493d-8830-f336bbe306c1
Commits

Reviewing files that changed from the base of the PR and between e49501f and c052ef4.

Files selected for processing: 11

  • .github/dependabot.yml
  • .github/workflows/release-apk.yml
  • app/build.gradle
  • app/build.gradle.kts
  • app/hidden-api/build.gradle
  • app/hidden-api/build.gradle.kts
  • build.gradle
  • build.gradle.kts
  • gradle/libs.versions.toml
  • gradle/wrapper/gradle-wrapper.properties
  • settings.gradle.kts
Files with no reviewable changes: 3

  • build.gradle
  • app/hidden-api/build.gradle
  • app/build.gradle

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The project’s Gradle build scripts move to Kotlin DSL and use a version catalog for plugins and dependencies. The wrapper and Dependabot configuration are updated. The release workflow names the APK asset using the app’s version name.

Changes: Gradle build and release configuration

Layer / File(s) Summary
Root Gradle setup
gradle/libs.versions.toml, build.gradle.kts, settings.gradle.kts, gradle/wrapper/gradle-wrapper.properties, .github/dependabot.yml
The build adds plugin and library aliases, converts settings to Kotlin DSL, updates the wrapper to Gradle 9.6.0, and points Dependabot to the repository root.
Android module build scripts
app/build.gradle, app/build.gradle.kts, app/hidden-api/build.gradle, app/hidden-api/build.gradle.kts
The app and hidden API module build files move from Groovy to Kotlin DSL. The app script configures signing, Android build options, native builds, and dependencies.
Versioned release APK asset
.github/workflows/release-apk.yml
The release workflow reads versionName, renames the APK with that version, and uses the versioned name for the uploaded asset.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related PRs

  • Xtr126/XtMapper#239: This PR adds a task to app/build.gradle, which is replaced by the Kotlin DSL script in this change.
  • Xtr126/XtMapper#238: This PR adds desugaring configuration and a dependency to app/build.gradle, which is replaced by the Kotlin DSL script in this change.
Merge Risk: Minimal · previous review c052e

-->

No actionable issue is established from the supplied evidence. The build and release changes are ready for normal validation before merge.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Maintain and modernize the Android build system" matches the changeset. The PR migrates the Gradle build scripts from Groovy to Kotlin DSL, adds a version catalog (gradle/libs.versions.toml…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Maintain and modernize the Android build system" matches the changeset. The PR migrates the Gradle build scripts from Groovy to Kotlin DSL, adds a version catalog (gradle/libs.versions.toml) and a root build.gradle.kts plugin declaration, and updates the Gradle wrapper to 9.6.0. It also repoints Dependabot to the root catalog and renames the release APK. The title names the main theme, a build-system modernization. It is broad, but it refers to the primary change and is not vague or misleading.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 4 files. (4 skipped: 4 unsupported.)

  • Autofix · Stopped

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Autofix reconciliation was requested. Last reported status: Checking. A completed task turn does not mean Autofix has repaired the current PR. Check current status in the Coding task.

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.

1 participant