chore: bump version to 2.0.2 and update API version to 26.1.1#289
Conversation
There was a problem hiding this comment.
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-pluginversion suffix from2.0.1→2.0.2. - Update the Paper Gradle plugin to require
surf-paper-api(instead ofsurf-bukkit-api) for bootstrap/server dependencies. - Change the generated Paper plugin descriptor
apiVersioninsurf-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" |
There was a problem hiding this comment.
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.
| apiVersion = "26.1.1" | |
| apiVersion = "1.21" |
No description provided.