Skip to content

Commit 4bb8013

Browse files
Release 2.9.7 (#201)
2 parents 7ab5dda + b106fde commit 4bb8013

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
java
55
`maven-publish`
66
`java-library`
7-
id("de.chojo.publishdata") version "1.3.0"
7+
id("de.chojo.publishdata") version "1.4.0"
88
id("org.cadixdev.licenser") version "0.6.1"
99
}
1010

@@ -14,22 +14,22 @@ repositories {
1414
}
1515

1616
dependencies {
17-
api("net.dv8tion", "JDA", "5.0.0-beta.19")
18-
api("org.apache.commons", "commons-text", "1.11.0")
17+
api("net.dv8tion", "JDA", "5.0.0")
18+
api("org.apache.commons", "commons-text", "1.12.0")
1919
api("club.minnced", "discord-webhooks", "0.8.4")
2020

2121
// Serialization
22-
api("com.google.guava", "guava", "33.0.0-jre")
23-
api("com.fasterxml.jackson.core", "jackson-databind", "2.16.1")
22+
api("com.google.guava", "guava", "33.2.1-jre")
23+
api("com.fasterxml.jackson.core", "jackson-databind", "2.17.2")
2424

2525
// web api
2626
api("io.javalin", "javalin", "4.6.8")
2727
api("io.javalin", "javalin-openapi", "4.6.8")
2828

2929
// unit testing
30-
testImplementation(platform("org.junit:junit-bom:5.10.1"))
30+
testImplementation(platform("org.junit:junit-bom:5.10.3"))
3131
testImplementation("org.junit.jupiter", "junit-jupiter")
32-
testImplementation("org.mockito", "mockito-core", "5.9.0")
32+
testImplementation("org.mockito", "mockito-core", "5.12.0")
3333
}
3434

3535
license {
@@ -38,7 +38,7 @@ license {
3838
}
3939

4040
group = "de.chojo"
41-
version = "2.9.6+beta.19"
41+
version = "2.9.7+jda-5.0.0"
4242
description = "Discord utilities for use with JDA"
4343

4444
publishData {

gradle/wrapper/gradle-wrapper.jar

-9 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.

gradlew.bat

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

src/main/java/de/chojo/jdautil/modals/handler/ModalHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static ModalHandlerBuilder builder(String label) {
3333
public Modal createModal(String id, LocalizationContext localizer) {
3434
var inputs = this.inputs.values().stream().map(input -> ActionRow.of(input.input(localizer))).toList();
3535
return Modal.create(id, localizer.localize(label))
36-
.addActionRows(inputs)
36+
.addComponents(inputs)
3737
.build();
3838
}
3939

0 commit comments

Comments
 (0)