feat: update platform plugin to Paper 26.1.2#11
Merged
Conversation
a13005c to
a2c9283
Compare
a2c9283 to
ad14e2c
Compare
There was a problem hiding this comment.
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-conventionsand adjust plugin/dependency versions accordingly. - Add GitHub Packages Maven repo to
pluginManagementfor resolving the convention plugins. - Update plugin metadata (
plugin.yml) and small comment wording inWhitelistApiClient.
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 on lines
+5
to
+7
| credentials { | ||
| username = providers.gradleProperty("github.user").get() | ||
| password = providers.gradleProperty("github.token").get() |
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.
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
Related Issues
Testing
Additional validation:
Checklist