Skip to content

chore: update all dependencies to latest versions (AGP 9.0, Kotlin 2.3.0, CMP 1.10.0)#17

Open
dosier wants to merge 1 commit intomasterfrom
feature/dependency-updates-2026
Open

chore: update all dependencies to latest versions (AGP 9.0, Kotlin 2.3.0, CMP 1.10.0)#17
dosier wants to merge 1 commit intomasterfrom
feature/dependency-updates-2026

Conversation

@dosier
Copy link
Owner

@dosier dosier commented Jan 21, 2026

Summary

Update all project dependencies to their latest versions including major platform upgrades.

Core Platform Upgrades

Component Old New
Kotlin 2.2.20 2.3.0
Compose Multiplatform 1.9.0 1.10.0
AGP 8.10.1 9.0.0
Gradle 8.14.3 9.3.0
compileSdk 35 36

Library Updates

Library Old New
kotlinx-serialization 1.7.3 1.10.0
kotlinx-io 0.8.0 0.8.2
Ktor 3.3.0 3.3.3
kotlin-logging 7.0.4 7.0.14
androidx-activity 1.11.0 1.12.2
androidx-lifecycle 2.9.4 2.10.0-alpha06
vanniktech-mavenPublish 0.34.0 0.35.0
slf4j-simple 2.0.16 2.0.17

AGP 9.0 Migration

  • Library modules migrated to com.android.kotlin.multiplatform.library plugin
  • Uses androidLibrary {} DSL inside kotlin {} block
  • Sample app uses temporary compatibility flags (android.builtInKotlin=false, android.newDsl=false)
  • Compose Hot Reload plugin removed (now bundled with CMP 1.10.0)

Blocking

Do not merge until IntelliJ/Android Studio supports AGP 9.0

The IDE support for AGP 9.0 is expected in Android Studio Otter 3 Feature Drop or later.

Test plan

  • JVM tests pass
  • Wait for IDE support before merging

- Kotlin 2.2.20 -> 2.3.0
- Compose Multiplatform 1.9.0 -> 1.10.0
- AGP 8.10.1 -> 9.0.0
- Gradle 8.14.3 -> 9.3.0
- kotlinx-serialization 1.7.3 -> 1.10.0
- kotlinx-io 0.8.0 -> 0.8.2
- Ktor 3.3.0 -> 3.3.3
- kotlin-logging 7.0.4 -> 7.0.14
- androidx-activity 1.11.0 -> 1.12.2
- androidx-lifecycle 2.9.4 -> 2.10.0-alpha06
- vanniktech-mavenPublish 0.34.0 -> 0.35.0
- slf4j-simple 2.0.16 -> 2.0.17
- compileSdk 35 -> 36

AGP 9.0 migration:
- Migrate library modules to com.android.kotlin.multiplatform.library plugin
- Use androidLibrary {} DSL instead of separate android {} block
- Add compatibility flags for sample app (android.builtInKotlin=false, android.newDsl=false)
- Remove Compose Hot Reload plugin (now bundled with CMP 1.10.0)

Note: Requires IntelliJ/Android Studio with AGP 9.0 support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant