Skip to content

Commit

Permalink
Update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Aug 13, 2024
1 parent 1df057a commit 8c6a5cb
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@093dfe9d598ec5a42246855d09b49dc76803c005
with:
arguments: shadowJar
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4.3.6
with:
name: 'Successfully build DiscordOfficer JDK${{ matrix.jdk }}'
path: build/libs/*.jar
14 changes: 7 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ configurations.named("checkstyle") {

dependencies {
// JDA
implementation("net.dv8tion:JDA:5.0.0-beta.24") {
implementation("net.dv8tion:JDA:5.0.2") {
exclude("opus-java", "opus-java")
}

Expand All @@ -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.14.0")

// ORMLite
implementation("com.j256.ormlite:ormlite-core:6.1")
Expand All @@ -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.232")
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")
Expand All @@ -86,7 +86,7 @@ dependencies {
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")
implementation("org.apache.commons:commons-lang3:3.16.0")
}

tasks.getByName<Test>("test") {
Expand Down
2 changes: 1 addition & 1 deletion docker/java21.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app/
COPY .. /app/
RUN gradle clean shadowJar

FROM amazoncorretto:21.0.3-alpine
FROM amazoncorretto:21.0.4-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/"
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 ##########################################################################
Expand Down

0 comments on commit 8c6a5cb

Please sign in to comment.