From 7b9d8f3b6f0cc18529f2692f8fb337b784858b50 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:49:24 +0000 Subject: [PATCH 1/4] Add Gradle build CI workflow for pull requests Agent-Logs-Url: https://github.com/PixelMindMC/PixelChatGuardian/sessions/f8ed7629-39ce-4de6-958f-c6ca63a3ba91 Co-authored-by: ToothyDev <55001472+ToothyDev@users.noreply.github.com> --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8b1d851 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +name: Build + +on: + pull_request: + push: + branches: + - main + +jobs: + build: + name: Build with Gradle + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Java 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: 'gradle' + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew build --no-daemon From cb69b5581344337baa7e282acc31bb78a4e699b2 Mon Sep 17 00:00:00 2001 From: ToothyDev Date: Fri, 8 May 2026 14:34:54 +0200 Subject: [PATCH 2/4] Change java version to 25 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b1d851..3768808 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,10 +17,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Java 21 + - name: Set up Java 25 uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '25' distribution: 'temurin' cache: 'gradle' From bb3c7dd2695862e048c44d5a64f70fc02eeaff5d Mon Sep 17 00:00:00 2001 From: ToothyDev Date: Fri, 8 May 2026 14:45:34 +0200 Subject: [PATCH 3/4] Test commit to force build error --- src/main/java/de/pixelmindmc/pixelchat/PixelChat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java b/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java index ac60bdb..0eb275a 100644 --- a/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java +++ b/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java @@ -86,7 +86,7 @@ public void onEnable() { private void loadConfigs() { // Debug logger message getLoggingHelper().debug("Loading configurations"); - + this configHelper = new ConfigHelper(this, "config.yml"); configHelperPlayerStrikes = new ConfigHelper(this, "player_strikes.yml"); configHelperEmojiList = new ConfigHelper(this, "emoji_list.yml"); From e2aa0f678956dd86f931cff1f61ca7c900057769 Mon Sep 17 00:00:00 2001 From: ToothyDev Date: Fri, 8 May 2026 14:46:36 +0200 Subject: [PATCH 4/4] Revert "Test commit to force build error" This reverts commit bb3c7dd2695862e048c44d5a64f70fc02eeaff5d. --- src/main/java/de/pixelmindmc/pixelchat/PixelChat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java b/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java index 0eb275a..ac60bdb 100644 --- a/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java +++ b/src/main/java/de/pixelmindmc/pixelchat/PixelChat.java @@ -86,7 +86,7 @@ public void onEnable() { private void loadConfigs() { // Debug logger message getLoggingHelper().debug("Loading configurations"); - this + configHelper = new ConfigHelper(this, "config.yml"); configHelperPlayerStrikes = new ConfigHelper(this, "player_strikes.yml"); configHelperEmojiList = new ConfigHelper(this, "emoji_list.yml");