diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index b8ee1c5..0fb7dd4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,7 +22,7 @@ jobs: java-version: '17' distribution: 'temurin' - name: Cache Gradle - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.gradle/caches key: >- @@ -32,11 +32,11 @@ jobs: - name: Make gradlew executable run: chmod +x gradlew - name: Build with Gradle - uses: gradle/gradle-build-action@4c39dd82cd5e1ec7c6fa0173bb41b4b6bb3b86ff + uses: gradle/gradle-build-action@093dfe9d598ec5a42246855d09b49dc76803c005 with: arguments: shadowAll - name: Upload a ChatFormatter Artifact - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v4.4.3 with: name: 'Successfully build ChatFormatter' path: build/libs/ChatFormatter v*.jar \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 46ad609..353e2ed 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ import java.util.jar.JarOutputStream plugins{ id("eternalcode.java") id("com.github.johnrengelman.shadow") - id("xyz.jpenilla.run-paper") version "2.3.0" + id("xyz.jpenilla.run-paper") version "2.3.1" } tasks.create("shadowAll") { diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 2ee8a53..5d1b92c 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -8,7 +8,7 @@ repositories { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.0") + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.0.21") implementation("com.github.johnrengelman:shadow:8.1.1") implementation("net.minecrell:plugin-yml:0.6.0") } diff --git a/chatformatter-core/build.gradle.kts b/chatformatter-core/build.gradle.kts index d7cca51..a1862ce 100644 --- a/chatformatter-core/build.gradle.kts +++ b/chatformatter-core/build.gradle.kts @@ -10,7 +10,7 @@ dependencies { testImplementation("org.spigotmc:spigot-api:$spigotApiVersion") // Kyori Adventure & MiniMessage - val adventureVersion = "4.3.3" + val adventureVersion = "4.3.4" val miniMessageVersion = "4.17.0" implementation("net.kyori:adventure-platform-bukkit:$adventureVersion") implementation("net.kyori:adventure-text-minimessage:$miniMessageVersion") @@ -18,12 +18,12 @@ dependencies { testImplementation("net.kyori:adventure-text-minimessage:$miniMessageVersion") // CDN Configs - val cdnVersion = "1.14.4" + val cdnVersion = "1.14.5" implementation("net.dzikoysk:cdn:$cdnVersion") testImplementation("net.dzikoysk:cdn:$cdnVersion") // bStats - implementation("org.bstats:bstats-bukkit:3.0.2") + implementation("org.bstats:bstats-bukkit:3.1.0") // PlaceholderAPI & Vault compileOnly("me.clip:placeholderapi:2.11.6") @@ -33,13 +33,13 @@ dependencies { implementation("com.eternalcode:gitcheck:1.0.0") // JUnit 5 - testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2") - testImplementation("org.junit.jupiter:junit-jupiter-params:5.10.2") - testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2") - testImplementation("org.mockito:mockito-core:5.12.0") - testImplementation("org.mockito:mockito-junit-jupiter:5.12.0") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.2") + testImplementation("org.junit.jupiter:junit-jupiter-params:5.11.2") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.2") + testImplementation("org.mockito:mockito-core:5.14.2") + testImplementation("org.mockito:mockito-junit-jupiter:5.14.2") testImplementation("me.clip:placeholderapi:2.11.6") - testImplementation("org.assertj:assertj-core:3.26.0") + testImplementation("org.assertj:assertj-core:3.26.3") } tasks { diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e644113..a4b76b9 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a441313..df97d72 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index b740cf1..f5feea6 100644 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -84,7 +86,8 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/gradlew.bat b/gradlew.bat index 25da30d..9d21a21 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ##########################################################################