Skip to content

Commit 628a9aa

Browse files
authored
Dependency upgrades (discord-jda#1819)
1 parent 2d25758 commit 628a9aa

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,19 +645,19 @@ All dependencies are managed automatically by Gradle.
645645
* Version: **2.14**
646646
* [Github](https://github.com/TakahikoKawasaki/nv-websocket-client)
647647
* OkHttp
648-
* Version: **3.13.0**
648+
* Version: **4.9.3**
649649
* [Github](https://github.com/square/okhttp)
650650
* Apache Commons Collections4
651-
* Version: **4.1**
651+
* Version: **4.4**
652652
* [Website](https://commons.apache.org/proper/commons-collections)
653653
* jackson
654-
* Version: **2.10.1**
654+
* Version: **2.13.2**
655655
* [Github](https://github.com/FasterXML/jackson)
656656
* Trove4j
657657
* Version: **3.0.3**
658658
* [BitBucket](https://bitbucket.org/trove4j/trove)
659659
* slf4j-api
660-
* Version: **1.7.25**
660+
* Version: **1.7.36**
661661
* [Website](https://www.slf4j.org/)
662662
* opus-java (optional)
663663
* Version: **1.1.1**

build.gradle.kts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ plugins {
3636

3737
id("io.codearte.nexus-staging") version "0.30.0"
3838
id("de.marcphilipp.nexus-publish") version "0.4.0"
39-
id("com.github.johnrengelman.shadow") version "7.1.0"
39+
id("com.github.johnrengelman.shadow") version "7.1.2"
4040
}
4141

4242
val javaVersion = JavaVersion.current()
@@ -98,20 +98,20 @@ dependencies {
9898

9999
//Code safety
100100
api("com.google.code.findbugs:jsr305:3.0.2")
101-
api("org.jetbrains:annotations:16.0.1")
101+
api("org.jetbrains:annotations:23.0.0")
102102

103103
//Logger
104-
api("org.slf4j:slf4j-api:1.7.25")
104+
api("org.slf4j:slf4j-api:1.7.36")
105105

106106
//Web Connection Support
107107
api("com.neovisionaries:nv-websocket-client:2.14")
108-
api("com.squareup.okhttp3:okhttp:3.13.0")
108+
api("com.squareup.okhttp3:okhttp:4.9.3")
109109

110110
//Opus library support
111111
api("club.minnced:opus-java:1.1.1")
112112

113113
//Collections Utility
114-
api("org.apache.commons:commons-collections4:4.1")
114+
api("org.apache.commons:commons-collections4:4.4")
115115

116116
//we use this only together with opus-java
117117
// if that dependency is excluded it also doesn't need jna anymore
@@ -122,15 +122,17 @@ dependencies {
122122

123123
//General Utility
124124
implementation("net.sf.trove4j:trove4j:3.0.3")
125-
implementation("com.fasterxml.jackson.core:jackson-databind:2.10.1")
125+
// Match the minor version of lavaplayers jackson dependency
126+
implementation("com.fasterxml.jackson.core:jackson-core:2.13.2")
127+
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.2")
126128

127129
//Sets the dependencies for the examples
128130
configurations["examplesImplementation"].withDependencies {
129131
addAll(configurations["api"].allDependencies)
130132
addAll(configurations["implementation"].allDependencies)
131133
}
132134

133-
testImplementation("org.junit.jupiter:junit-jupiter:5.4.0")
135+
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
134136
}
135137

136138
val compileJava: JavaCompile by tasks
@@ -262,8 +264,7 @@ javadoc.apply {
262264
opt.tags("incubating:a:Incubating:")
263265
opt.links(
264266
"https://docs.oracle.com/javase/8/docs/api/",
265-
"https://takahikokawasaki.github.io/nv-websocket-client/",
266-
"https://javadoc.io/doc/com.squareup.okhttp3/okhttp/3.13.0/")
267+
"https://takahikokawasaki.github.io/nv-websocket-client/")
267268
if (JavaVersion.VERSION_1_8 < javaVersion) {
268269
opt.addBooleanOption("html5", true) // Adds search bar
269270
opt.addStringOption("-release", "8")

gradle/wrapper/gradle-wrapper.jar

285 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)