From b12ab1fd5bbd178ab810a14b742a17959da63a10 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Jul 2026 06:17:13 +0000 Subject: [PATCH] Bump spotless 3.9.0, clang-format 22.1.8, Gradle (AGP jobs) 9.6.1; drop orphaned jna.version Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Ap1143gp7CRatgo9TezNhQ --- .github/workflows/clang-format.yml | 2 +- .github/workflows/publish.yml | 8 ++++---- CLAUDE.md | 4 ++-- llama/pom.xml | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 69d901327..688050864 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -12,7 +12,7 @@ on: # reproducible between contributors and CI. Bump CLANG_FORMAT_VERSION here and in # CLAUDE.md (Code Formatting) together, then reformat the tree with the same version. env: - CLANG_FORMAT_VERSION: "22.1.5" + CLANG_FORMAT_VERSION: "22.1.8" jobs: clang-format: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2b6c89818..a73376e83 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -918,7 +918,7 @@ jobs: - uses: gradle/actions/setup-gradle@v6 with: # AGP 9.3.0 (the .github/android-consumer-test fixture) requires Gradle >= 9.5.0. - gradle-version: "9.5.0" + gradle-version: "9.6.1" - name: Build core jar (byte-identical classes payload for the AAR) run: > mvn -B --no-transfer-progress -pl llama -am -DskipTests -Denforcer.skip=true @@ -1049,7 +1049,7 @@ jobs: - uses: gradle/actions/setup-gradle@v6 with: # AGP 9.3.0 (the .github/android-consumer-test fixture) requires Gradle >= 9.5.0. - gradle-version: "9.5.0" + gradle-version: "9.6.1" - name: Enable KVM group permissions (GitHub-hosted runner) run: | echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules @@ -1145,7 +1145,7 @@ jobs: # AGP 9.3.0 (android-llmservice) requires Gradle >= 9.5.0; also satisfies Kotlin # 2.4's Gradle-plugin floor. The AAR/lib-only jobs stay on an older Gradle since # they build no AGP project. - gradle-version: "9.5.0" + gradle-version: "9.6.1" - name: Build core jar + install llama-kotlin facade to mavenLocal # install (not package) so the app's Gradle build resolves llama-kotlin + # the core POM from mavenLocal. llama-kotlin's core dep is provided-scope, so the @@ -1229,7 +1229,7 @@ jobs: - uses: gradle/actions/setup-gradle@v6 with: # AGP 9.3.0 (android-llmservice) requires Gradle >= 9.5.0. - gradle-version: "9.5.0" + gradle-version: "9.6.1" - name: Enable KVM group permissions (GitHub-hosted runner) run: | echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules diff --git a/CLAUDE.md b/CLAUDE.md index 1fcc7fb65..70b7ca5c7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -948,12 +948,12 @@ not track the loader's own Java package). This is the same ### Code Formatting C++ formatting is **enforced in CI** (`.github/workflows/clang-format.yml`) with a **pinned** -clang-format — currently **22.1.5**, installed via `pip install clang-format==22.1.5`. Format with +clang-format — currently **22.1.8**, installed via `pip install clang-format==22.1.8`. Format with that exact version before committing; a different clang-format version reflows code differently and will fail the check. ```bash -pip install "clang-format==22.1.5" +pip install "clang-format==22.1.8" clang-format -i src/main/cpp/*.cpp src/main/cpp/*.hpp src/test/cpp/*.cpp # Format C++ code ``` diff --git a/llama/pom.xml b/llama/pom.xml index ac4cddefa..7c75bffd9 100644 --- a/llama/pom.xml +++ b/llama/pom.xml @@ -55,7 +55,6 @@ SPDX-License-Identifier: MIT bernardladenthin - 5.19.1 1.0.0 1.18.46 2.50.0 @@ -85,7 +84,7 @@ SPDX-License-Identifier: MIT 4.10.3.0 7.7.4 1.14.0 - 3.8.0 + 3.9.0 2.96.0 UTF-8 2026-07-07T07:32:17Z