Skip to content

Commit

Permalink
Release 2.9.7 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs authored Jul 10, 2024
2 parents 7ab5dda + b106fde commit 4bb8013
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
java
`maven-publish`
`java-library`
id("de.chojo.publishdata") version "1.3.0"
id("de.chojo.publishdata") version "1.4.0"
id("org.cadixdev.licenser") version "0.6.1"
}

Expand All @@ -14,22 +14,22 @@ repositories {
}

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

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

// web api
api("io.javalin", "javalin", "4.6.8")
api("io.javalin", "javalin-openapi", "4.6.8")

// unit testing
testImplementation(platform("org.junit:junit-bom:5.10.1"))
testImplementation(platform("org.junit:junit-bom:5.10.3"))
testImplementation("org.junit.jupiter", "junit-jupiter")
testImplementation("org.mockito", "mockito-core", "5.9.0")
testImplementation("org.mockito", "mockito-core", "5.12.0")
}

license {
Expand All @@ -38,7 +38,7 @@ license {
}

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

publishData {
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.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -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/.
Expand Down
20 changes: 10 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

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

goto fail

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

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static ModalHandlerBuilder builder(String label) {
public Modal createModal(String id, LocalizationContext localizer) {
var inputs = this.inputs.values().stream().map(input -> ActionRow.of(input.input(localizer))).toList();
return Modal.create(id, localizer.localize(label))
.addActionRows(inputs)
.addComponents(inputs)
.build();
}

Expand Down

0 comments on commit 4bb8013

Please sign in to comment.