From fa223bfc08a9ef844fb925370b131b880b8b0a78 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Wed, 24 Jun 2026 18:27:38 -0500 Subject: [PATCH] chore(deps): re-pin protobufs to v-less snapshot 2.7.26-4b8d665-SNAPSHOT, drop resolution override (#5942) Co-authored-by: Claude Opus 4.8 --- build.gradle.kts | 24 ------------------------ gradle/libs.versions.toml | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 329b6e2fb..ef70f005e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,27 +59,3 @@ plugins.withId("org.meshtastic.flatpak.sources") { dependencies { dokkaPlugin(libs.dokka.android.documentation.plugin) } - -// ─── TEMPORARY: protobufs commit-pinned snapshot preview (PR #5834) ────────────────────────────── -// We track the unreleased protobufs snapshot v2.7.26-497cd88-SNAPSHOT for the LoRa region→preset map (#951). -// protobufs #959 switched RB snapshot publishing to immutable per-commit vX.Y.Z-{shorthash}-SNAPSHOT -// coordinates; pin the exact one rather than the moving develop-SNAPSHOT. -// takpacket-sdk:0.7.0 STILL transitively pins protobufs:2.7.25 (verified against its POM), and -// Gradle ranks 2.7.25 > v2.7.26-…-SNAPSHOT (the numeric "2" outranks the "v2" string qualifier). -// That downgrades the test *runtime* classpath to 2.7.25 while the common-metadata *compile* uses -// the snapshot, yielding NoSuchFieldError/NoSuchMethodError on the proto-generated classes at test -// runtime (assembleDebug/detekt don't catch it; test/allTests do). Force every protobufs* variant -// to the snapshot so compile and runtime agree. Safe because atak.proto is unchanged, so takpacket's -// own message ABI stays compatible with the newer protobufs. -// REMOVE once protobufs cuts a tagged release containing #951 (re-pin the catalog to it) — and, -// ideally, once takpacket-sdk is republished against that release. -allprojects { - configurations.all { - resolutionStrategy.eachDependency { - if (requested.group == "org.meshtastic" && requested.name.startsWith("protobufs")) { - useVersion("v2.7.26-497cd88-SNAPSHOT") - because("preview #5834: override takpacket transitive protobufs:2.7.25 pin") - } - } - } -} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7a8bafd71..ac53893de 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -95,7 +95,7 @@ mqttastic = "0.4.0" jmdns = "3.6.3" qrcode-kotlin = "4.5.0" takpacket-sdk = "0.7.0" -meshtastic-protobufs = "v2.7.26-497cd88-SNAPSHOT" +meshtastic-protobufs = "2.7.26-4b8d665-SNAPSHOT" # Gradle Plugins develocity = "4.4.3"