build(deps): prune dead catalog entries and bump dependencies#38
Merged
Conversation
Audit of gradle/libs.versions.toml found several entries no longer wired
into any build script or source file, left over from the migration to the
published org.meshtastic:protobufs SDK. Remove them and apply the safe
version bumps (also covering several Renovate-proposed updates so those PRs
become redundant).
Removed (zero references anywhere):
- protobuf / protobufKotlin — proto types now come from the protobufs SDK
via Wire; no com.google.protobuf usage remains
- mockk (version + library) — no test references it
- ktorNetworkTls library — unused (ktor version retained for ktorNetwork)
- kotlinxSerialization + core + plugin — no @serializable in the codebase;
the applied plugin was a no-op
- bundles sqldelightDrivers, testCommon — drivers/test libs are referenced
individually in the convention plugins
Bumps:
- kotlinxDatetime 0.7.1 -> 0.8.0 (no kotlinx.datetime imports; time code
uses stdlib kotlin.time)
- atomicfu 0.32.1 -> 0.33.0
- kable 0.43.0 -> 0.43.1
- composeMultiplatform 1.10.3 -> 1.11.1
- spotless 8.4.0 -> 8.6.0
- detektComposeRules 0.5.8 -> 0.6.1
- axionRelease 1.21.1 -> 1.21.2
- Develocity plugin 4.4.1 -> 4.4.2 (settings.gradle.kts + build-logic)
- Gradle wrapper 9.4.1 -> 9.5.1 (checksum-verified)
Deliberately held: kotlin 2.4.0 (pinned to SKIE 0.10.12 / Meshtastic-Android
parity), detekt 2.0.0-alpha.4 (prerelease).
Verified: ./gradlew :core:jvmTest :core:compileKotlinJvm spotlessCheck detekt
passes on Gradle 9.5.1.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
5f3072d to
4e6aa07
Compare
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.
Summary
Audits
gradle/libs.versions.toml, removes dependency entries left dead by the migration to the publishedorg.meshtastic:protobufsSDK, and applies the safe version bumps (folding in several Renovate-proposed updates so those PRs become redundant).Type of change
Related issue / discussion
Supersedes / makes redundant Renovate PRs #21 (composeMultiplatform), #15 (kable), #11 (axionRelease), #14 (Develocity), and the queued
gradle-9.x,kotlinx,spotless,detektcomposerulesupdates. Renders #16 (mockk) and the protobuf update moot — those dependencies are deleted here.What changed
Removed (zero references in any build script or source file):
protobuf/protobufKotlin— proto types now come from the protobufs SDK via Wire; nocom.google.protobufusage remainsmockk(version + library) — no test references itktorNetworkTlslibrary — unused (thektorversion is retained forktorNetwork)kotlinxSerialization+kotlinxSerializationCore+ thekotlinSerializationplugin — no@Serializableanywhere; the applied plugin was a no-opsqldelightDrivers,testCommon— their members are referenced individually in the convention pluginsBumps:
Deliberately held back:
kotlin2.4.0 (pinned to SKIE 0.10.12 / Meshtastic-Android parity),detekt2.0.0-alpha.4 (prerelease).Affirmations
updateKotlinAbiis not required../gradlew check— ran a representative subset locally (see below); fullcheckleft to CI.How was this verified?
./gradlew :core:jvmTest :core:compileKotlinJvm spotlessCheck detektpasses on the upgraded Gradle 9.5.1 (clean run). ThekotlinxDatetime0.7→0.8 bump is safe because the codebase has zerokotlinx.datetimeimports — all time code uses stdlibkotlin.time.Instant/Clock.Notes for reviewers
kotlinx.datetimeimports).kotlinxDatetimeitself is arguably now unused (wired in the convention plugin but never imported) — left in scope-minimal for this PR; flag if you'd like it removed too..github/**).