• Mahmoud Aglan's avatar
    build: re_editor 0.10.0, and restore Kotlin 2.4.0 · e92220ba
    Mahmoud Aglan authored
    Two follow-ons from pinning AGP, both caught by build validation rather than at
    runtime, which is the argument against reaching for
    --android-skip-build-dependency-validation to make a build "pass".
    
    Kotlin: I had dropped it to 2.1.0 alongside the AGP pin, assuming AGP 8.x
    required it. It does not — KGP and AGP version independently, and Flutter 3.47
    requires Kotlin >= 2.2.20, so my downgrade was the whole problem. Back to 2.4.0.
    There was no circular constraint here; there was an unnecessary edit.
    
    re_editor: 0.7.0 fails to compile against Flutter 3.47 — its _CodeInputController
    implements DeltaTextInputClient without onFocusReceived(), which the framework
    has since added. The caret constraint ^0.7.0 pinned it below 0.8, hiding the
    four newer releases; 0.10.0 implements it. Analysis stays clean across the
    upgrade, so no call sites changed.
    
    Final working combination:
      AGP 8.11.1 · Gradle 8.14 · Kotlin 2.4.0 · re_editor 0.10.0
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    e92220ba