1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23import org.springframework.boot.gradle.tasks.bundling.BootJar
34
45plugins {
5- id(" org.springframework.boot" ) version " 2. 3.5.RELEASE "
6- id(" io.spring.dependency-management" ) version " 1.0.10.RELEASE "
7- kotlin(" jvm" ) version " 1.4.10 "
8- kotlin(" plugin.spring" ) version " 1.4.10 "
6+ id(" org.springframework.boot" ) version " 3.5.14 "
7+ id(" io.spring.dependency-management" ) version " 1.1.7 "
8+ kotlin(" jvm" ) version " 2.3.21 "
9+ kotlin(" plugin.spring" ) version " 2.3.21 "
910}
1011
1112group = " dev.arbjerg"
1213version = " 0.1"
13- java.sourceCompatibility = JavaVersion .VERSION_11
14+ java.sourceCompatibility = JavaVersion .VERSION_17
1415
1516repositories {
1617 mavenCentral()
1718 flatDir {
1819 dirs(" lib" )
1920 }
20- maven { url = uri(" https://m2.dv8tion.net/releases" ) }
21- maven { url = uri(" https://jitpack.io" ) }
2221 maven { url = uri(" https://maven.lavalink.dev/releases" ) }
2322}
2423
2524dependencies {
26- implementation(" com.github.DV8FromTheWorld :JDA:v5.0.0-beta.23 " )
27- implementation(" dev.arbjerg:lavaplayer:2.2.2 " )
28- implementation(" dev.lavalink.youtube:v2:1.8.3 " )
25+ implementation(" net.dv8tion :JDA:6.4.1 " )
26+ implementation(" dev.arbjerg:lavaplayer:2.2.6 " )
27+ implementation(" dev.lavalink.youtube:v2:1.18.1 " )
2928 implementation(" org.springframework.boot:spring-boot-starter-data-r2dbc" )
3029
3130 runtimeOnly(" com.h2database:h2" )
32- implementation(" io.r2dbc:r2dbc-h2" )
31+ implementation(" io.r2dbc:r2dbc-h2:1.1.0.RELEASE " )
3332 implementation(" org.flywaydb:flyway-core" )
34- implementation(" com.github.ben-manes.caffeine:caffeine:3.1.5 " )
33+ implementation(" com.github.ben-manes.caffeine:caffeine:3.2.4 " )
3534
3635 implementation(" org.jetbrains.kotlin:kotlin-reflect" )
37- implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8 " )
38- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.4.0 " )
36+ implementation(" org.jetbrains.kotlin:kotlin-stdlib" )
37+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-reactor" )
3938 implementation(" io.projectreactor.kotlin:reactor-kotlin-extensions" )
4039 testImplementation(" org.springframework.boot:spring-boot-starter-test" ) {
4140 exclude(group = " org.junit.vintage" , module = " junit-vintage-engine" )
@@ -58,8 +57,8 @@ tasks.withType<Test> {
5857}
5958
6059tasks.withType<KotlinCompile > {
61- kotlinOptions {
62- freeCompilerArgs = listOf (" -Xjsr305=strict" )
63- jvmTarget = " 11 "
60+ compilerOptions {
61+ freeCompilerArgs.add (" -Xjsr305=strict" )
62+ jvmTarget.set( JvmTarget . JVM_17 )
6463 }
6564}
0 commit comments