diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c4224a5..0c88741 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -25,11 +25,11 @@ jobs: - name: Run checkstyle run: ./gradlew checkstyleMain - name: Build with Gradle - uses: gradle/gradle-build-action@66535aaf56f831b35e3a8481c9c99b665b84dd45 + uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 with: arguments: shadowJar - name: Upload a Build Artifact - uses: actions/upload-artifact@v4.3.3 + uses: actions/upload-artifact@v4.3.4 with: name: 'Successfully build DiscordOfficer JDK${{ matrix.jdk }}' path: build/libs/*.jar diff --git a/build.gradle.kts b/build.gradle.kts index 1131748..b60e052 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,7 +41,7 @@ configurations.named("checkstyle") { dependencies { // JDA - implementation("net.dv8tion:JDA:5.0.0-beta.24") { + implementation("net.dv8tion:JDA:5.0.1") { exclude("opus-java", "opus-java") } @@ -55,7 +55,7 @@ dependencies { implementation("pw.chew:jda-chewtils-command:2.0-SNAPSHOT") // Sentry.io integration - implementation("io.sentry:sentry:7.10.0") + implementation("io.sentry:sentry:7.12.0") // ORMLite implementation("com.j256.ormlite:ormlite-core:6.1") @@ -67,15 +67,15 @@ dependencies { // Database drivers implementation("mysql:mysql-connector-java:8.0.33") implementation("org.postgresql:postgresql:42.7.3") - implementation("com.h2database:h2:2.2.224") - implementation("org.mariadb.jdbc:mariadb-java-client:3.4.0") + implementation("com.h2database:h2:2.3.230") + implementation("org.mariadb.jdbc:mariadb-java-client:3.4.1") // Gson implementation("com.google.code.gson:gson:2.11.0") // tests - testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2") - testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.2") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.3") // mockwebserver testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e644113..2c35211 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..09523c0 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.9-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 ##########################################################################