Skip to content

Update to Gradle 9.x and AGP 8.13.2#128

Merged
sjp4 merged 2 commits intocoredevices:masterfrom
matejdro:bump-gradle
Mar 7, 2026
Merged

Update to Gradle 9.x and AGP 8.13.2#128
sjp4 merged 2 commits intocoredevices:masterfrom
matejdro:bump-gradle

Conversation

@matejdro
Copy link
Copy Markdown
Contributor

@matejdro matejdro commented Feb 28, 2026

Currently, libpebble3 is preventing all dependant projects (mostly microPebble 😀) from using Kotlin 2.3.X

This is the minimum version bump needed to allow usage of Kotlin 2.3 in dependant projects: https://developer.android.com/build/kotlin-support

this is the minimum needed update to allow usage of Kotlin 2.3 in dependant projects: https://developer.android.com/build/kotlin-support
@matejdro
Copy link
Copy Markdown
Contributor Author

libpebble3 compiles for me, it appears there's an issue with the core app.

@sjp4
Copy link
Copy Markdown
Member

sjp4 commented Mar 1, 2026

Huh - I thought we were using kotlin 2.3 already in coreapp... what am I missing?

(Looks like the gradle bump is what breaks coreapp in this PR, because it breaks the android-version plugin we're using - does the AGP bump here need the gradle bump? I have a branch where I was trying to get AGP 9 working, which I think has a fix for this, so I'll try to dig that out, but if the gradle bump isn't needed for the AGP bump that would be easier i guess)

@matejdro
Copy link
Copy Markdown
Contributor Author

matejdro commented Mar 1, 2026

Huh - I thought we were using kotlin 2.3 already in coreapp... what am I missing?

Hm, not sure how it works. If you look at the linked table above, Kotlin 2.3 needs at least AGP 8.13.2.

As for the Gradle, it's needed to use Kotlin 2.3 in the KTS scripts. But I guess the update here is not strictly needed, as the parent project can override (unlike the AGP where parent ant libpebble3 versions must match). Still, we could merge at least the build.gradle.kts fix, which allows libpebble3 to be built with Gradle 9.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ matejdro
❌ sjp4
You have signed the CLA already but the status is still pending? Let us recheck it.

@sjp4 sjp4 merged commit 17e15c6 into coredevices:master Mar 7, 2026
3 of 5 checks passed
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.

3 participants