Skip to content

feat: update platform plugin to Paper 26.1.2#11

Merged
lusu007 merged 1 commit into
mainfrom
feat/update-paper-26-1
May 11, 2026
Merged

feat: update platform plugin to Paper 26.1.2#11
lusu007 merged 1 commit into
mainfrom
feat/update-paper-26-1

Conversation

@lusu007
Copy link
Copy Markdown
Contributor

@lusu007 lusu007 commented May 11, 2026

Pull Request

Description

Updates the platform plugin to target Paper 26.1.2 build 63 through the released Grounds Gradle convention plugin v0.6.0.

This removes the local copies of the Paper API dependency, Java 25 toolchain setup, test setup, resource version expansion, Shadow plugin wiring, and Spotless setup where those now come from gg.grounds.base-conventions and gg.grounds.paper-conventions. The existing release artifact naming is preserved for plugin-grounds-platform--all.jar.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • ♻️ Refactoring
  • 📚 Documentation
  • 🔧 Chore

Related Issues

  • N/A

Testing

  • Unit tests pass: ./gradlew test
  • Manual testing completed
  • New tests added for new functionality

Additional validation:

  • ./gradlew spotlessApply
  • ./gradlew build
  • Verified build/libs/plugin-grounds-platform-local-SNAPSHOT-all.jar is still produced

Checklist

  • I have performed a self-review of my own code
  • Tests have been added/updated and pass (if needed)
  • Documentation has been updated (if needed)

@lusu007 lusu007 force-pushed the feat/update-paper-26-1 branch from a13005c to a2c9283 Compare May 11, 2026 16:14
@lusu007 lusu007 force-pushed the feat/update-paper-26-1 branch from a2c9283 to ad14e2c Compare May 11, 2026 18:05
@lusu007 lusu007 marked this pull request as ready for review May 11, 2026 18:07
Copilot AI review requested due to automatic review settings May 11, 2026 18:07
@lusu007 lusu007 merged commit afb797c into main May 11, 2026
2 checks passed
@lusu007 lusu007 deleted the feat/update-paper-26-1 branch May 11, 2026 18:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the platform plugin’s build to target Paper 26.1.2 (build 63) by switching to the released Grounds Gradle convention plugins, removing several locally-managed Gradle configurations in favor of shared conventions.

Changes:

  • Switch build configuration to gg.grounds.base-conventions / gg.grounds.paper-conventions and adjust plugin/dependency versions accordingly.
  • Add GitHub Packages Maven repo to pluginManagement for resolving the convention plugins.
  • Update plugin metadata (plugin.yml) and small comment wording in WhitelistApiClient.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/main/resources/plugin.yml Updates plugin descriptor, including api-version (currently set to an invalid value).
src/main/kotlin/gg/grounds/platform/whitelist/WhitelistApiClient.kt Comment wording tweaks (no functional changes).
settings.gradle.kts Adds GitHub Packages Maven repo + credentials for plugin resolution (currently hard-fails if props missing).
build.gradle.kts Replaces local Gradle setup with Grounds conventions; updates KSP/Mockito versions; keeps ShadowJar artifact naming.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

version: ${VERSION}
main: gg.grounds.platform.GroundsPlatformPlugin
api-version: "1.21"
api-version: "26.1.2"
Comment thread settings.gradle.kts
Comment on lines +5 to +7
credentials {
username = providers.gradleProperty("github.user").get()
password = providers.gradleProperty("github.token").get()
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