Repository navigation
Conversation
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.
Apps enabling AGP 9 built-in Kotlin fail when this plugin unconditionally applies
kotlin-android. Apply standalone KGP only on older AGP or when the host explicitly setsandroid.builtInKotlin=false.Guard legacy
kotlinOptionson that path; built-in Kotlin inherits the existing Java 11 target. Remove the redundant Kotlin directory from the Java source set. Apple packaging and runtime APIs remain unchanged.Related PR: #47. This implementation addresses the older-KGP compatibility concern in its review: it retains the existing compiler configuration on the legacy path instead of introducing a
compilerOptionsrequirement or raising the SDK floor.Validated in a Flutter 3.47.7 application using AGP 9.4.1, Gradle 9.6.1, Kotlin 2.4.10 and
android.builtInKotlin=true:org.jetbrains.kotlin.androidplugin applied across 35 Android modules.CocoaPods specifications were parsed successfully. Native Apple builds and the legacy-KGP build matrix were not run.
Consumer migration tracking: https://github.com/MEDEL-RD-AppliedAI/redi-app/issues/179.