-
Notifications
You must be signed in to change notification settings - Fork 4
Improve the plugin for 0.2.0 Release #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 pull request prepares the BuildTeamTools plugin for version 0.2.0 by migrating the build system from Maven to Gradle and implementing various code improvements. The migration enables better build performance and versioning through Git-based version naming. Key changes include centralized wiki documentation links, module system enhancements, disabled broken generators (Rail and Field), updated dependency management, and code modernization with switch expressions and improved error handling.
Changes:
- Migrated build system from Maven to Gradle with automatic versioning based on Git commits
- Centralized wiki documentation URLs into WikiLinks.java utility class
- Disabled broken Rail and Field generators with user-facing messages
- Modernized code with switch expressions, improved exception handling, and Path API usage
Reviewed changes
Copilot reviewed 48 out of 51 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| build.gradle.kts | New Gradle build configuration with dependency management and shadowing |
| settings.gradle.kts, gradle.properties, libs.versions.toml | Gradle project configuration and version catalog |
| gradlew, gradlew.bat, gradle/wrapper/* | Gradle wrapper for consistent builds |
| plugin.yml | Dynamic version and description from Gradle properties |
| WikiLinks.java | Centralized wiki URL constants for documentation |
| Module.java, GeneratorComponent.java | Enhanced with WikiDocumented interface |
| GeneratorCollections.java | Improved file handling with Path API and better error logging |
| Item.java | Updated skull texture handling for Minecraft 1.21+ |
| Field/Rail generators | Disabled with UnsupportedOperationException |
| Various menu classes | Refactored to use centralized wiki links |
| README.md | Updated documentation and contributor information |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/main/java/net/buildtheearth/buildteamtools/modules/generator/model/GeneratorComponent.java
Show resolved
Hide resolved
ee016fb to
08ceb78
Compare
… wiki links and improve constructor parameters
This PR contains major changes to the plugin, making it ready for the next release.
We also switched to Gradle now, which allows us to do more things in the future & improves building performance.
Build's now have a distinct name to tracker better what version is currently running.