Repository navigation
Update dependencies version and migrate to gradle - #1
Merged
Merged
Conversation
also update packetevents to fix error with 26.1
There was a problem hiding this comment.
Pull request overview
Migrates the project from Maven to Gradle, updates several dependency versions (including moving to mysql-connector-j 9.7.0), and switches CI to build via Gradle/shadowJar.
Changes:
- Replace Maven build (
pom.xml) with a Gradle Kotlin DSL build (settings.gradle.kts,build.gradle.kts) and add the Gradle wrapper scripts. - Update dependency versions and switch MySQL driver to
com.mysql:mysql-connector-j:9.7.0. - Update GitHub Actions workflow to run
./gradlew build.
Reviewed changes
Copilot reviewed 7 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
settings.gradle.kts |
Adds Gradle settings and sets rootProject.name. |
pom.xml |
Removes Maven build configuration. |
build.gradle.kts |
Adds Gradle build with dependencies, shadowJar relocation/minimize, and publishing config. |
gradlew / gradlew.bat |
Adds Gradle wrapper launch scripts. |
gradle/wrapper/gradle-wrapper.properties |
Pins Gradle distribution for wrapper usage. |
.github/workflows/build.yml |
Switches CI build step from Maven to Gradle (but still has Maven-era paths/caching). |
.gitignore |
Ignores Gradle build outputs and metadata. |
ChatX.iml |
Removes IntelliJ module file from version control. |
gradle.properties |
Adds an (currently empty) Gradle properties file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+23
to
+29
| - name: Build with Gradle | ||
| run: ./gradlew build | ||
| - name: Upload ChatX | ||
| uses: actions/upload-artifact@v4.6.2 | ||
| uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: ChatX | ||
| path: "*/target/ChatX-*.jar" | ||
| path: "build/libs/ChatX-*.jar" |
jason31416
approved these changes
May 10, 2026
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.
Notes
mysql-connector-javaupdated tomysql-connector-j9.7.0, no longer support version lower 8.0 of mysqlenabled shadowJar minimize