Skip to content

Bump the Gradle wrapper, checkout action and versions plugin - #47

Open
LaStrada wants to merge 1 commit into
mainfrom
chore/bump-gradle-wrapper-actions-and-versions-plugin
Open

Bump the Gradle wrapper, checkout action and versions plugin#47
LaStrada wants to merge 1 commit into
mainfrom
chore/bump-gradle-wrapper-actions-and-versions-plugin

Conversation

@LaStrada

@LaStrada LaStrada commented Aug 4, 2026

Copy link
Copy Markdown
Member

Description ✏️

The safe subset of #37, so that PR can be closed:

From To
Gradle wrapper 8.14.4 8.14.5
actions/checkout v6 v7
com.github.ben-manes.versions 0.54.0 0.59.0

8.14.5 matches airthings-app; android_ble_lib is on 8.13.

Left out deliberately: the Android Gradle Plugin. #37 wanted 8.10.0 → 9.3.1, but AGP 9 requires
Gradle 9, and this build isn't ready for it — it still reports "Deprecated Gradle features were used in
this build, making it incompatible with Gradle 9.0". dependencyUpdates also lists no stable AGP
upgrade at all; com.android.library shows up only under later milestone versions
(8.10.0 -> 9.4.0-alpha07). Gradle 9 and AGP 9 belong together in their own change, with their own
testing.

Why the buildscript block goes

Removing it is what makes the Gradle bump work, not unrelated tidying. Those three classpath entries
interpolated version.plugin.androidGradle, version.kotlin and version.plugin.outdated — none of
which exist in gradle.properties, so each resolved to the literal string "null". Gradle 8.14.4
tolerated that; 8.14.5 tries to resolve com.github.ben-manes:gradle-versions-plugin:null and fails.

The block was already dead. The plugins { } block declares all three through the version catalog, as
the comment directly above it says: "Versions of plugins are now configured once in pluginManagement
block in settings.gradle.kts."

Screenshots / Recordings 📷

How to Test 🐛

./gradlew build
./gradlew dependencyUpdates

Both were run locally on 8.14.5 — build succeeded with 146 tasks executed, and dependencyUpdates
produced a report and identified itself as 0.59.0.

References 🔗

Replaces the bumps in #37, which can be closed once this lands — its lint job is red on exactly the
Gradle 9 + AGP 9 combination left out here.

Still outstanding from #37's neighbourhood, as separate changes: concurrency on build.yml so pushes
don't stack concurrent macOS runs, and .github/actions/java moving off the deprecated adopt
distribution to temurin.

Gradle 8.14.4 -> 8.14.5, actions/checkout v6 -> v7, and the versions plugin
0.54.0 -> 0.59.0.

Removing the buildscript classpath block is what makes the Gradle bump work.
Those three entries interpolated `version.plugin.androidGradle`, `version.kotlin`
and `version.plugin.outdated`, none of which exist in gradle.properties, so each
resolved to the literal string "null". 8.14.4 tolerated it; 8.14.5 tries to
resolve `gradle-versions-plugin:null` and fails. The block was already dead —
the plugins block declares all three through the version catalog, as the comment
above it says.

Verified with `gradlew build` and `gradlew dependencyUpdates` on 8.14.5.
@LaStrada
LaStrada requested review from a team as code owners August 4, 2026 13:03
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