From 2617dd4340b77732ffabd38a08142eaf00acb8c1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 9 Jun 2024 19:49:03 +0200 Subject: [PATCH] GH-154 Update all dependencies (#154) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/gradle.yml | 4 ++-- build.gradle.kts | 18 +++++++++--------- docker/java21.dockerfile | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index bc67d060..af2450cb 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@8baac4c8ef753599f92eeb509c246d09d6250fa6 + uses: gradle/gradle-build-action@4c39dd82cd5e1ec7c6fa0173bb41b4b6bb3b86ff with: arguments: shadowJar - name: Upload a Build Artifact - uses: actions/upload-artifact@v4.3.1 + uses: actions/upload-artifact@v4.3.3 with: name: 'Successfully build DiscordOfficer JDK${{ matrix.jdk }}' path: build/libs/*.jar diff --git a/build.gradle.kts b/build.gradle.kts index 837f5ef1..80bc4061 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,7 @@ repositories { } checkstyle { - toolVersion = "10.15.0" + toolVersion = "10.17.0" configFile = file("${rootDir}/checkstyle/checkstyle.xml") @@ -33,7 +33,7 @@ configurations.named("checkstyle") { resolutionStrategy { capabilitiesResolution { withCapability("com.google.collections:google-collections") { - select("com.google.guava:guava:33.1.0-jre") + select("com.google.guava:guava:33.2.1-jre") } } } @@ -41,7 +41,7 @@ configurations.named("checkstyle") { dependencies { // JDA - implementation("net.dv8tion:JDA:5.0.0-beta.22") { + implementation("net.dv8tion:JDA:5.0.0-beta.24") { exclude("opus-java", "opus-java") } @@ -49,13 +49,13 @@ dependencies { implementation("net.dzikoysk:cdn:1.14.4") // slf4j setup - implementation("ch.qos.logback:logback-classic:1.5.5") + implementation("ch.qos.logback:logback-classic:1.5.6") // new modern fork of jda-utilities implementation("pw.chew:jda-chewtils-command:2.0-SNAPSHOT") // Sentry.io integration - implementation("io.sentry:sentry:7.8.0") + implementation("io.sentry:sentry:7.10.0") // ORMLite implementation("com.j256.ormlite:ormlite-core:6.1") @@ -68,10 +68,10 @@ dependencies { 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.3.3") + implementation("org.mariadb.jdbc:mariadb-java-client:3.4.0") // Gson - implementation("com.google.code.gson:gson:2.10.1") + implementation("com.google.code.gson:gson:2.11.0") // tests testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2") @@ -82,8 +82,8 @@ dependencies { testImplementation("com.squareup.okhttp3:okhttp:4.12.0") // mockito - testImplementation("org.mockito:mockito-core:5.11.0") - testImplementation("org.mockito:mockito-junit-jupiter:5.11.0") + testImplementation("org.mockito:mockito-core:5.12.0") + testImplementation("org.mockito:mockito-junit-jupiter:5.12.0") // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 implementation("org.apache.commons:commons-lang3:3.14.0") diff --git a/docker/java21.dockerfile b/docker/java21.dockerfile index d31e95f0..3427eec9 100644 --- a/docker/java21.dockerfile +++ b/docker/java21.dockerfile @@ -4,7 +4,7 @@ WORKDIR /app/ COPY .. /app/ RUN gradle clean shadowJar -FROM amazoncorretto:21.0.2-alpine +FROM amazoncorretto:21.0.3-alpine LABEL org.label-schema.name="eternalcode/discordofficer" LABEL org.label-schema.description="EternalCode DiscordOfficer official image" LABEL org.label-schema.url="http://eternalcode.pl/" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b82aa23a..a4413138 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.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 1aa94a42..b740cf13 100644 --- a/gradlew +++ b/gradlew @@ -55,7 +55,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/.