Skip to content

Update dependencies version and migrate to gradle - #1

Merged
jason31416 merged 13 commits into
MinecraftServerUnion:mainfrom
neokoni:main
May 10, 2026
Merged

jason31416 merged 13 commits into
MinecraftServerUnion:mainfrom
neokoni:main

Conversation

@neokoni

@neokoni neokoni commented May 9, 2026 •

Copy link
Copy Markdown
Contributor

Notes

mysql-connector-java updated to mysql-connector-j 9.7.0, no longer support version lower 8.0 of mysql

enabled shadowJar minimize

@neokoni
neokoni marked this pull request as ready for review May 10, 2026 06:42
Copilot AI review requested due to automatic review settings May 10, 2026 06:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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 thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 12 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/build.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 12 changed files in this pull request and generated 1 comment.

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"
@neokoni
neokoni requested a review from jason31416 May 10, 2026 07:23
@jason31416
jason31416 merged commit 4741059 into MinecraftServerUnion:main May 10, 2026
1 check passed
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.

3 participants