Skip to content

Update dependencies - #1111

Merged
JingMatrix merged 3 commits into
masterfrom
update-dependencies
Nov 30, 2026
Merged

JingMatrix merged 3 commits into
masterfrom
update-dependencies

Conversation

@JingMatrix

@JingMatrix JingMatrix commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Updates dependencies to latest and clears the compile warnings the bump surfaces.

Submodules:

Compile SDK:

  • compileSdk 37 → 37.2 (via compileSdkMinor) — material3 1.5.0 requires API 37.1 or newer.

Compose:

  • compose-bom → 2026.11.01, which ships material3 1.5.0 and compose-ui 1.13.0; material3 is governed by the BOM, with no explicit pin.

Other:

  • kotlinx-serialization-json → 1.13.0, ktfmt → 0.29.0.

Toolchain:

  • Gradle 9.9.3, AGP 9.5.3, lifecycle 2.11.1, navigation3 1.2.2.
  • actions/setup-java → v6, crowdin/github-action → v3.

Native build on CMake 4.x:

  • CMake 4.5 enables import std for C++23 targets, but its probe resolves the std module to the host's libstdc++ and cross-compiles it for Android, which the NDK sysroot cannot satisfy. We point the synthesised std target at the NDK's own libc++ module via CMAKE_CXX_STDLIB_MODULES_JSON, so it builds against libc++; CMake versions that do not synthesise it ignore the variable. fmt stays header-only (fmt-module's source does import std).

Warning-free build:

  • SearchField moves to the BasicTextField(TextFieldState) overload (the value/onValueChange one is deprecated), keeping its hoisted-String contract through two guarded one-way syncs so no caller changes.
  • VectorApp uses currentWindowAdaptiveInfoV2.
  • StoreSettings.setUpdateChannel names its parameter channel, matching the override.

Validated with ./gradlew zipAll (the CI task) under JDK 21 on both CMake 3.31.6 and 4.5.1: builds clean across all ABIs, zero Kotlin warnings.

@JingMatrix
JingMatrix force-pushed the update-dependencies branch 8 times, most recently from bc9bdd8 to 0edf725 Compare November 24, 2026 22:16
Submodules:
- external/lsplant onto upstream LSPosed/LSPlant master, rebased over our
  NDK-libc++ and public-build patches, bringing the internal-hook init
  fixes: the Class::SetStatus inline hook published its entry patch before
  the backup pointer, so a concurrent VerifyClass -> SetStatus during class
  loading could branch through an unpublished backup and crash
  (LSPosed/LSPlant#194, LSPosed/LSPlant#195), plus LSPosed/LSPlant#197 and
  LSPosed/LSPlant#201. dex_builder pinned to JingMatrix/DexBuilder HEAD.
- fmt 12.2.1, commons-lang 3.22.0.

Compile SDK:
- compileSdk 37 -> 37.2 (via compileSdkMinor). material3 1.5.0, the stable
  Expressive line, requires API 37.1 or newer.

Compose:
- compose-bom 2026.11.01, which now ships material3 1.5.0 and compose-ui
  1.13.0. Dropped the explicit material3 pin: the BOM supersedes it, so
  material3 is BOM-governed again.

Other:
- kotlinx-serialization-json 1.13.0, ktfmt 0.28.0.

Toolchain:
- Gradle wrapper 9.9.2, AGP 9.5.2, androidx lifecycle 2.11.1, navigation3 1.2.2.
- actions/setup-java v6, crowdin/github-action v3.

Native build on CMake 4.x: a newer CMake (seen on 4.5) enables `import std` for
C++23 targets, but its probe resolves the std module to the host's libstdc++ and
cross-compiles it for Android, which the NDK sysroot cannot satisfy. Point the
synthesised std target at the NDK's own libc++ module (CMAKE_CXX_STDLIB_MODULES_JSON),
so it builds against libc++; this is harmless on CMake versions that skip the
synthesis. No pin needed. fmt is kept header-only (fmt-module's source imports std).

Clear the compile warnings the bump surfaces, so the build is warning-free:
- SearchField moves to the BasicTextField(TextFieldState) overload, keeping
  its hoisted-String contract via two guarded one-way syncs so callers stay
  unchanged. The value/onValueChange overload is deprecated in the Compose
  that material3 1.5.0 pulls in.
- VectorApp uses currentWindowAdaptiveInfoV2.
- StoreSettings.setUpdateChannel names its parameter channel, matching the
  override, so the named-argument warning goes away.
external/lsplant is rebased onto LSPosed/LSPlant master 43fbc87, which
stops ArtMethod clearing kAccMemorySharedMethod on Android 13 and newer:
the init cleared kAccFastInterpreterToInterpreterInvoke, the same bit
that ART reuses for kAccMemorySharedMethod from T onwards. Upstream's
LSPosed/LSPlant#202 replaced the private lsparself and lsprism test
submodules with the public xDL, so our public-build patch no longer has
to drop them; it now only pins dex_builder and tweaks the build.

services/libxposed moves to 102.0.1, whose XposedProvider is Direct Boot
aware. The daemon's delivery has no unlock gate, so modules built
against it can take their service binder before first unlock; remote
preferences and files already live under /data/misc and are readable
then.

Also here: external/xz-embedded to upstream HEAD (kmalloc and min_t
syncs from Linux, comments, a benchmark tool), AGP 9.5.3, the Gradle
wrapper 9.9.3, and ktfmt 0.29.0.
Drop the dated and machine-specific asides from the compileSdkMinor,
CMake std-module and Compose BOM comments, and the "Stable since" note
on Navigation 3. The BOM comment no longer repeats the governance note
that heads the Compose block. The SearchField placeholder comment is
rewrapped under 100 columns after its re-indent.
@JingMatrix
JingMatrix merged commit 7afa2b8 into master Nov 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant