Skip to content

Commit d3438fd

Browse files
committed
ci: build on the latest JDK (25)
Gradle 9.6.1 + AGP 9.2.1 run on JDK 25; Kotlin stays 2.3.0 (AGP-mandated).
1 parent 2b097a1 commit d3438fd

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/setup-java@v5
2323
with:
2424
distribution: temurin
25-
java-version: "17"
25+
java-version: "25"
2626
- uses: android-actions/setup-android@v4
2727
- name: Install SDK packages
2828
run: sdkmanager "platforms;android-35" "build-tools;36.0.0"
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/setup-java@v5
4545
with:
4646
distribution: temurin
47-
java-version: "17"
47+
java-version: "25"
4848
- uses: android-actions/setup-android@v4
4949
- name: Install SDK packages
5050
run: sdkmanager "platforms;android-35" "build-tools;36.0.0"

.github/workflows/publish-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-java@v5
2020
with:
2121
distribution: temurin
22-
java-version: "17"
22+
java-version: "25"
2323
- uses: android-actions/setup-android@v4
2424
- name: Install SDK packages
2525
run: sdkmanager "platforms;android-35" "build-tools;36.0.0"

.github/workflows/release-aar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-java@v5
1919
with:
2020
distribution: temurin
21-
java-version: "17"
21+
java-version: "25"
2222
- uses: android-actions/setup-android@v4
2323
- name: Install SDK packages
2424
run: sdkmanager "platforms;android-35" "build-tools;36.0.0"

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Thanks for your interest in improving `cobs_codec_kt`!
44

55
## Getting started
66

7-
You need **JDK 17** and the **Android SDK** (`compileSdk 35`, `build-tools
8-
35.0.0`). The Gradle wrapper pins the Gradle version, so no separate Gradle
7+
You need **JDK 17 or newer** (CI builds on JDK 25) and the **Android SDK** (`compileSdk 35`, `build-tools 36.0.0`). The Gradle wrapper pins the Gradle version, so no separate Gradle
98
install is needed.
109

1110
```console

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ Invalid encoded input throws `CobsDecodeException`.
9595

9696
## Build
9797

98-
Requires JDK 17 and the Android SDK (`compileSdk 35`).
98+
Requires JDK 17 or newer (CI builds on JDK 25) and the Android SDK
99+
(`compileSdk 35`).
99100

100101
```console
101102
./gradlew :cobs:assembleRelease # -> cobs/build/outputs/aar/cobs-release.aar

0 commit comments

Comments
 (0)