Commit e92220ba authored by Mahmoud Aglan's avatar Mahmoud Aglan

build: re_editor 0.10.0, and restore Kotlin 2.4.0

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>
parent 483cba44
...@@ -22,8 +22,8 @@ plugins { ...@@ -22,8 +22,8 @@ plugins {
// AGP 9 removed getDefaultProguardFile("proguard-android.txt"), which // AGP 9 removed getDefaultProguardFile("proguard-android.txt"), which
// flutter_inappwebview_android 1.1.3 (the newest release) still calls at // flutter_inappwebview_android 1.1.3 (the newest release) still calls at
// configuration time. Pinned to the last 8.x until the plugin moves. // configuration time. Pinned to the last 8.x until the plugin moves.
id("com.android.application") version "8.7.3" apply false id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.1.0" apply false id("org.jetbrains.kotlin.android") version "2.4.0" apply false
} }
include(":app") include(":app")
...@@ -724,10 +724,10 @@ packages: ...@@ -724,10 +724,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: re_editor name: re_editor
sha256: "17e430f0591dd361992ec2dd6f69191c1853fa46e05432e095310a8f82ee820e" sha256: "66671c4774a6b4c5254c9a53ab35a083e7e7da9ae371c519bcf491c70a2a4e56"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.0" version: "0.10.0"
re_highlight: re_highlight:
dependency: "direct main" dependency: "direct main"
description: description:
......
...@@ -22,7 +22,7 @@ dependencies: ...@@ -22,7 +22,7 @@ dependencies:
# Editor + syntax highlighting. re_editor gives a real code editor (selection, # Editor + syntax highlighting. re_editor gives a real code editor (selection,
# find, line numbers) rather than a SelectableText pretending to be one. # find, line numbers) rather than a SelectableText pretending to be one.
re_editor: ^0.7.0 re_editor: ^0.10.0
re_highlight: ^0.0.3 re_highlight: ^0.0.3
# Markdown rendering. Mermaid blocks are pulled out before this sees them and # Markdown rendering. Mermaid blocks are pulled out before this sees them and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment