Skip to content

Commit 7b3a87a

Browse files
committed
build: upgrade to Java 25 and latest Paper API
1 parent 63d0fd5 commit 7b3a87a

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v6
2323

24-
- name: Set up JDK 21
24+
- name: Set up JDK 25
2525
uses: actions/setup-java@v5
2626
with:
2727
distribution: temurin
28-
java-version: "21"
28+
java-version: "25"
2929
cache: maven
3030

3131
- name: Run Checkstyle

.github/workflows/ci-tests-and-coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v6
2424

25-
- name: Set up JDK 21
25+
- name: Set up JDK 25
2626
uses: actions/setup-java@v5
2727
with:
2828
distribution: temurin
29-
java-version: "21"
29+
java-version: "25"
3030
cache: maven
3131

3232
- name: Run Maven Verify
3333
run: mvn -B -ntp verify
3434

3535
- name: Upload JaCoCo Report
3636
if: always()
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v7
3838
with:
3939
name: jacoco-report
4040
path: target/site/jacoco

.github/workflows/release-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22-
- name: Set up JDK 21
22+
- name: Set up JDK 25
2323
uses: actions/setup-java@v5
2424
with:
2525
distribution: temurin
26-
java-version: "21"
26+
java-version: "25"
2727
cache: maven
2828
server-id: github
2929
settings-path: ${{ github.workspace }}
@@ -35,7 +35,7 @@ jobs:
3535
run: echo "TARGET_NAME=$(mvn -q -DforceStdout help:evaluate -Dexpression=project.build.finalName)" >> "$GITHUB_ENV"
3636

3737
- name: Upload distributable
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@v7
3939
with:
4040
name: dist
4141
path: target/${{ env.TARGET_NAME }}.jar
@@ -46,7 +46,7 @@ jobs:
4646
GITHUB_TOKEN: ${{ github.token }}
4747

4848
- name: Create GitHub release
49-
uses: softprops/action-gh-release@v2
49+
uses: softprops/action-gh-release@v3
5050
with:
5151
name: DataProvider ${{ github.ref_name }}
5252
draft: false

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thanks for contributing.
44

55
## Prerequisites
66

7-
- Java 21
7+
- Java 25
88
- Maven 3.9+
99
- Local Velocity and/or Bukkit/Paper environment for manual validation
1010
- Optional local MySQL, MongoDB, and Redis instances for integration checks

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![CI Lint](https://github.com/HauntedMC/DataProvider/actions/workflows/ci-lint.yml/badge.svg?branch=main)](https://github.com/HauntedMC/DataProvider/actions/workflows/ci-lint.yml)
55
[![Release](https://img.shields.io/github/v/release/HauntedMC/DataProvider)](https://github.com/HauntedMC/DataProvider/releases)
66
[![License](https://img.shields.io/github/license/HauntedMC/dataprovider)](LICENSE)
7-
[![Java 21](https://img.shields.io/badge/Java-21-007396)](https://adoptium.net/)
7+
[![Java 25](https://img.shields.io/badge/Java-25-007396)](https://adoptium.net/)
88

99
Build plugins and services, not database plumbing.
1010

@@ -27,8 +27,8 @@ It gives you one clean API for MySQL, MongoDB, Redis, and Redis messaging so you
2727

2828
## Requirements
2929

30-
- Java 21
31-
- Velocity `3.5.0-SNAPSHOT` and/or Paper API `1.21.11-R0.1-SNAPSHOT` (compile targets)
30+
- Java 25
31+
- Velocity `3.5.0-SNAPSHOT` and/or Paper API `26.1.2+` (compile targets)
3232
- MySQL, MongoDB, and/or Redis for the backends you enable
3333

3434
## Quick Start

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747

4848
<properties>
4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50-
<maven.compiler.release>21</maven.compiler.release>
50+
<maven.compiler.release>25</maven.compiler.release>
5151

52-
<paper.version>1.21.11-R0.1-SNAPSHOT</paper.version>
52+
<paper.version>[26.1.2.build,)</paper.version>
5353
<velocity.version>3.5.0-SNAPSHOT</velocity.version>
5454
<mysql.version>9.2.0</mysql.version>
5555
<hikari.version>5.1.0</hikari.version>
@@ -66,7 +66,7 @@
6666

6767
<maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
6868
<maven.surefire.version>3.2.5</maven.surefire.version>
69-
<jacoco.version>0.8.12</jacoco.version>
69+
<jacoco.version>0.8.14</jacoco.version>
7070
<checkstyle.version>9.3</checkstyle.version>
7171
<maven.checkstyle.plugin.version>3.3.0</maven.checkstyle.plugin.version>
7272
<maven.shade.version>3.6.0</maven.shade.version>
@@ -114,7 +114,7 @@
114114
<version>[3.8.1,)</version>
115115
</requireMavenVersion>
116116
<requireJavaVersion>
117-
<version>[21,)</version>
117+
<version>[25,)</version>
118118
</requireJavaVersion>
119119
<requirePluginVersions/>
120120
</rules>

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: ${project.name}
22
main: ${project.groupId}.platform.bukkit.Bukkit${project.name}
33
version: ${project.version}
44
author: HauntedMC
5-
api-version: 1.19
5+
api-version: 1.21
66
commands:
77
dataprovider:
88
description: DataProvider diagnostics and runtime administration commands.

0 commit comments

Comments
 (0)