Skip to content

chore: bump version to 2.0.2 and update API version to 26.1.1#289

Merged
ammodev merged 1 commit into
version/26.1.1from
chore/correct-register-required
Apr 4, 2026
Merged

chore: bump version to 2.0.2 and update API version to 26.1.1#289
ammodev merged 1 commit into
version/26.1.1from
chore/correct-register-required

Conversation

@ammodev

@ammodev ammodev commented Apr 4, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 4, 2026 19:30
@ammodev ammodev merged commit fcec3e7 into version/26.1.1 Apr 4, 2026
6 checks passed
@ammodev ammodev deleted the chore/correct-register-required branch April 4, 2026 19:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Surf API’s Paper-side metadata/dependency wiring and bumps the Gradle plugin version, aligning the Paper plugin module naming with surf-paper-api.

Changes:

  • Bump surf-api-gradle-plugin version suffix from 2.0.12.0.2.
  • Update the Paper Gradle plugin to require surf-paper-api (instead of surf-bukkit-api) for bootstrap/server dependencies.
  • Change the generated Paper plugin descriptor apiVersion in surf-api-paper-server.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
surf-api-paper/surf-api-paper-server/build.gradle.kts Updates Paper plugin descriptor apiVersion.
surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/paper/plugin/PaperPluginSurfPlugin.kt Switches required dependency name to surf-paper-api.
surf-api-gradle-plugin/build.gradle.kts Bumps Gradle plugin version string to -2.0.2.

name = "surf-paper-api"
provides = listOf("SurfPaperAPI")
apiVersion = "1.21.11"
apiVersion = "26.1.1"

Copilot AI Apr 4, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paper { apiVersion = ... } is the Paper/Bukkit api-version written into paper-plugin.yml and should match the target Minecraft API version format used elsewhere in the repo (e.g., "1.21" in surf-api-paper-plugin-test and Constants.MINECRAFT_VERSION in PaperPluginSurfPlugin). Setting it to "26.1.1" looks like a library/project version and will generate an invalid or misleading plugin descriptor; use the Minecraft version (or a shared constant/property) instead.

Suggested change
apiVersion = "26.1.1"
apiVersion = "1.21"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants