Skip to content

Bump Kotlin, Compose, Coroutines, AGP. - #653

Merged
psteiger merged 14 commits into
mainfrom
kotlinver
Sep 15, 2025
Merged

psteiger merged 14 commits into
mainfrom
kotlinver

Conversation

@psteiger

@psteiger psteiger commented Sep 11, 2025 •

Copy link
Copy Markdown
Contributor

Bumps multiple dependencies.
Kotlin 1.8.20 -> 2.1.10
Compose libs 1.4.6 -> 1.6.8
Coroutines 1.8.20 -> 1.10.2
AGP 7.4.2 -> 8.13

Planned for next PRs

Kotlin 2.1.10 -> 2.2.0
AGP 8.13 -> 9.0.0-alpha05

AGP 9 supports 'Built-in Kotlin', allowing Android projects to use Kotlin without having to apply kotlin-android Gradle plugin. https://youtrack.jetbrains.com/projects/KTIJ/issues/KTIJ-34266/Support-AGPs-built-in-Kotlin-feature

In practice, it allows us to share the same built-in Kotlin K2 compiler version for building the includedBuilds and the source code of each module, since Gradle 9 ships with a modern K2 Kotlin compiler, and AGP 9 uses it as runtime dependency. https://developer.android.com/build/releases/agp-preview#android-gradle-plugin-built-in-kotlin

@psteiger psteiger changed the title Fix Explicit API mode warnings; make explicit API strict on Android l… WIP: Fix Explicit API mode warnings; make explicit API strict on Android l… Sep 11, 2025
@psteiger
psteiger force-pushed the kotlinver branch 11 times, most recently from 54f80f2 to 85e3764 Compare September 13, 2025 22:14
@psteiger
psteiger force-pushed the kotlinver branch 6 times, most recently from 6b54b82 to e8bc404 Compare September 15, 2025 09:31
psteiger and others added 6 commits September 15, 2025 05:37
- Move remaining Groovy files to .kts.
- Rename convention plugins.
- Move away from camelCase in Version Catalog plugins.
- Gradle IntelliJ plugin had to be bumped as well.
- Only generate BuildConfig in modules that require it.

AGP             7.4.2     -> 8.13.0
IntelliJ Plugin 1.15.0    -> 1.17.4
Gradle          8.1.1-all -> 8.14.3-bin
`targetSdk` is only relevant for Android applications, not libraries. Thus, it's only relevant for demo apps / tutorials.

compileSdk 33 -> 36
targetSdk  28 -> 35
@psteiger
psteiger force-pushed the kotlinver branch 2 times, most recently from 9da2b80 to e55fabf Compare September 15, 2025 14:30
@psteiger psteiger changed the title WIP: Fix Explicit API mode warnings; make explicit API strict on Android l… Bump Kotlin, Compose, Coroutines, AGP. Sep 15, 2025
@psteiger
psteiger force-pushed the kotlinver branch 4 times, most recently from fb20ebe to 4fe6e91 Compare September 15, 2025 20:48
@psteiger
psteiger merged commit 51094ed into main Sep 15, 2025
5 checks passed
@psteiger
psteiger deleted the kotlinver branch September 15, 2025 22:06
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