Repository navigation
Migrate to AGP 9.4.1 and modernize the sample - #23
Merged
Merged
Conversation
The project no longer configured: Gradle 9.8.2 is incompatible with AGP 8.x. AGP 9 forbids applying KMP and com.android.application in one module, so split it into a shared KMP library (composeApp, using com.android.kotlin.multiplatform.library) and a thin androidApp module with built-in Kotlin. - Replace Voyager, Koin and androidx.startup with the KMP lifecycle ViewModel - Migrate UI from Material 2 to Material 3; enable edge-to-edge - Bump compileSdk/targetSdk to 37 (required by current AndroidX/Compose) - Bump Compose Multiplatform to 1.12.2 - Drop default/deprecated gradle.properties flags, enable configuration cache, raise Gradle heap to 4 GB for Kotlin/Native linking - CI: trigger on main, use gradle/actions/setup-gradle, drop Codecov - iOS: remove stale shared/ framework path, set real bundle IDs - Remove template leftovers and update README/CLAUDE.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release framework linking for iosArm64 is slow and, together with 4 GB Gradle + 4 GB Kotlin daemon heaps, exhausted the 7 GB macos runner. CI now builds the Android debug APK and the debug simulator framework only. Kotlin/Native compiles in the Gradle daemon, so the Kotlin daemon heap goes back to 2 GB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both are cheap (~2 s extra locally). Release iOS links stay excluded: they peak at ~6 GB in the Gradle daemon and swap on the 7 GB macOS runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The project no longer configured: Gradle 9.8.2 is incompatible with AGP 8.x. AGP 9 forbids applying KMP and com.android.application in one module, so split it into a shared KMP library (composeApp, using com.android.kotlin.multiplatform.library) and a thin androidApp module with built-in Kotlin.