chore: update all dependencies to latest versions (AGP 9.0, Kotlin 2.3.0, CMP 1.10.0)#17
Open
chore: update all dependencies to latest versions (AGP 9.0, Kotlin 2.3.0, CMP 1.10.0)#17
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update all project dependencies to their latest versions including major platform upgrades.
Core Platform Upgrades
Library Updates
AGP 9.0 Migration
com.android.kotlin.multiplatform.librarypluginandroidLibrary {}DSL insidekotlin {}blockandroid.builtInKotlin=false,android.newDsl=false)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