@@ -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
4242val 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
136138val 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" )
0 commit comments