From b6255e5f466d819bd238c0b5c27fbd414466de2a Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 26 Sep 2026 11:38:35 +0100 Subject: [PATCH 1/2] Build with JDK 25 in CI BentoBox 3.23 and later are compiled for Java 25 (class version 69), so JDK 21 cannot compile against them. Use JDK 25 in the build and Modrinth publish workflows so the addon can move to a current BentoBox. The bytecode target stays at Java 21. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 2 +- .github/workflows/modrinth-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f16ddcd5..447adcc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'adopt' - java-version: '21' + java-version: '25' - name: Cache SonarCloud packages uses: actions/cache@v4 with: diff --git a/.github/workflows/modrinth-publish.yml b/.github/workflows/modrinth-publish.yml index eaca55cd..8f946303 100644 --- a/.github/workflows/modrinth-publish.yml +++ b/.github/workflows/modrinth-publish.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Java 21 uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '25' distribution: 'temurin' # 3. Cache Maven dependencies to speed up builds From 2abf785319aa00b9c1c1d773bf581d91f8e3936e Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 26 Sep 2026 15:40:54 +0100 Subject: [PATCH 2/2] build: get ItemsAdder API from Maven Central ItemsAdder's old repo (maven.devs.beer) returns 522, which broke dependency resolution in CI. The API is now published to Maven Central as beer.devs:itemsadder-api, matching BentoBox. Drop the old repo. Co-Authored-By: Claude Opus 5.5 --- pom.xml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index c565baf8..87b780f3 100644 --- a/pom.xml +++ b/pom.xml @@ -160,11 +160,6 @@ songoda-plugins https://repo.songoda.com/repository/minecraft-plugins/ - - - matteodev - https://maven.devs.beer/ - oraxen @@ -276,11 +271,11 @@ 1.0.0-SNAPSHOT provided - + - dev.lone - api-itemsadder - 4.0.10 + beer.devs + itemsadder-api + 4.0.17 provided