chore: upgrade to paper-api 26.1.2 with Java 25 toolchain#51
Merged
Conversation
- Bump paper-api from 1.21.11-R0.1-SNAPSHOT to 26.1.2.build.60-stable - Upgrade Java toolchain from 21 to 25 (required by paper-api 26.x) - Update minecraftVersion to 26.1.2 for plugin.yml api-version - Update ci.yml and release.yml to use JDK 25 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Upgrades the project’s Paper API dependency to the new 26.x CalVer line and aligns the build/tooling baseline to Java 25, updating CI/release workflows accordingly so the build continues to work under the new Paper requirements.
Changes:
- Bump
io.papermc.paper:paper-apito26.1.2.build.60-stable. - Upgrade Gradle Kotlin/JVM toolchain from Java 21 to Java 25.
- Update CI and release workflows to build with JDK 25, and adjust the
plugin.ymlapi-version input viagradle.properties.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
gradle/libs.versions.toml |
Updates the Paper API version used across plugins via the version catalog. |
gradle.properties |
Updates the minecraftVersion property used for resource expansion (e.g., plugin.yml api-version). |
buildSrc/src/main/kotlin/paper-plugin.gradle.kts |
Moves the Kotlin/JVM toolchain to Java 25 to satisfy Paper 26.x requirements. |
.github/workflows/ci.yml |
Updates CI to run Gradle builds/tests on JDK 25. |
.github/workflows/release.yml |
Updates release workflow to build artifacts on JDK 25. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -3,7 +3,7 @@ group=com.example | |||
| version=1.0.0 | |||
|
|
|||
| # Minecraft version (for reference) | |||
| kotlin { | ||
| jvmToolchain { | ||
| languageVersion.set(JavaLanguageVersion.of(21)) | ||
| languageVersion.set(JavaLanguageVersion.of(25)) |
Comment on lines
+28
to
33
| - name: Set up JDK 25 | ||
| uses: actions/setup-java@v5 | ||
| with: | ||
| java-version: '21' | ||
| java-version: '25' | ||
| distribution: 'temurin' # Eclipse Foundation OpenJDK | ||
| cache: 'gradle' |
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.
Supersedes #49 (Dependabot's paper-api bump) which failed CI because the new Paper API requires Java 25.
Changes
paper-apifrom1.21.11-R0.1-SNAPSHOTto26.1.2.build.60-stableminecraftVersionto26.1.2forplugin.ymlapi-version (Paper's new CalVer scheme)ci.ymlandrelease.ymlto use JDK 25Root cause
Paper 26.x moved to a new versioning scheme (CalVer) and now requires JVM 25+. The Dependabot PR only bumped the version in
libs.versions.tomlbut didn't update the Java toolchain configuration.Closes #49