diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a5691cb..394f4a3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -16,14 +16,14 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4.2.2 - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@v4.2.1 + uses: actions/setup-java@v4.5.0 with: distribution: adopt java-version: '${{ matrix.java }}' - name: Cache Gradle - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.2 with: path: ~/.gradle/caches key: >- @@ -35,7 +35,7 @@ jobs: - name: Build the Jar run: './gradlew clean shadowJar' - name: Upload a Build Artifact - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v4.4.3 with: name: 'LobbyHeads' path: build/libs/LobbyHeads*.jar \ No newline at end of file diff --git a/buildSrc/src/main/kotlin/lobbyheads-checkstyle.gradle.kts b/buildSrc/src/main/kotlin/lobbyheads-checkstyle.gradle.kts index 756f73c..4914d15 100644 --- a/buildSrc/src/main/kotlin/lobbyheads-checkstyle.gradle.kts +++ b/buildSrc/src/main/kotlin/lobbyheads-checkstyle.gradle.kts @@ -3,7 +3,7 @@ plugins { } checkstyle { - toolVersion = "10.17.0" + toolVersion = "10.20.0" configFile = file("${rootDir}/checkstyle/checkstyle.xml") configProperties["checkstyle.suppressions.file"] = "${rootDir}/checkstyle/suppressions.xml" diff --git a/buildSrc/src/main/kotlin/lobbyheads-java-unit-test.gradle.kts b/buildSrc/src/main/kotlin/lobbyheads-java-unit-test.gradle.kts index e4fcf6d..88e174e 100644 --- a/buildSrc/src/main/kotlin/lobbyheads-java-unit-test.gradle.kts +++ b/buildSrc/src/main/kotlin/lobbyheads-java-unit-test.gradle.kts @@ -3,10 +3,10 @@ plugins { } dependencies { - testImplementation("org.codehaus.groovy:groovy-all:3.0.21") - testImplementation(platform("org.junit:junit-bom:5.10.2")) + testImplementation("org.codehaus.groovy:groovy-all:3.0.22") + testImplementation(platform("org.junit:junit-bom:5.11.3")) testImplementation("org.junit.jupiter:junit-jupiter") - testImplementation("org.mockito:mockito-core:5.12.0") + testImplementation("org.mockito:mockito-core:5.14.2") } tasks.getByName("test") { 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 ########################################################################## diff --git a/lobbyheads-core/build.gradle.kts b/lobbyheads-core/build.gradle.kts index c0c1b3f..eddb193 100644 --- a/lobbyheads-core/build.gradle.kts +++ b/lobbyheads-core/build.gradle.kts @@ -5,13 +5,13 @@ plugins { `lobbyheads-checkstyle` id("net.minecrell.plugin-yml.bukkit") version "0.6.0" - id("com.gradleup.shadow") version "8.3.2" - id("xyz.jpenilla.run-paper") version "2.3.0" + id("com.gradleup.shadow") version "8.3.4" + id("xyz.jpenilla.run-paper") version "2.3.1" } dependencies { // okaeri configs - val okaeriConfigsVersion = "5.0.2" + val okaeriConfigsVersion = "5.0.5" implementation("eu.okaeri:okaeri-configs-yaml-snakeyaml:${okaeriConfigsVersion}") implementation("eu.okaeri:okaeri-configs-serdes-commons:${okaeriConfigsVersion}") @@ -19,14 +19,14 @@ dependencies { api(project(":lobbyheads-api")) // a cool library, kyori - implementation("net.kyori:adventure-platform-bukkit:4.3.3") + implementation("net.kyori:adventure-platform-bukkit:4.3.4") implementation("net.kyori:adventure-text-minimessage:4.17.0") // Rollczi's skullapi implementation("dev.rollczi:liteskullapi:1.3.0") // eternalcode commons - implementation("com.eternalcode:eternalcode-commons-adventure:1.1.3") + implementation("com.eternalcode:eternalcode-commons-adventure:1.1.4") // spigot-api compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT") @@ -36,22 +36,22 @@ dependencies { compileOnly("com.mojang:authlib:5.0.47") // HoloEasy based on top of the protocolib - implementation("com.github.unldenis:holoeasy:3.0.1") + implementation("com.github.unldenis:holoeasy:3.4.4") // PlaceholderAPI, if anyone wants to parse placeholders in the head's name compileOnly("me.clip:placeholderapi:2.11.6") // bstats - implementation("org.bstats:bstats-bukkit:3.0.2") + implementation("org.bstats:bstats-bukkit:3.1.0") // GitCheck implementation("com.eternalcode:gitcheck:1.0.0") // tests setup - testImplementation("org.codehaus.groovy:groovy-all:3.0.21") - testImplementation(platform("org.junit:junit-bom:5.10.2")) + testImplementation("org.codehaus.groovy:groovy-all:3.0.22") + testImplementation(platform("org.junit:junit-bom:5.11.3")) testImplementation("org.junit.jupiter:junit-jupiter") - testImplementation("org.mockito:mockito-core:5.12.0") + testImplementation("org.mockito:mockito-core:5.14.2") } java {