File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,18 +5,22 @@ plugins {
55 id(" maven-publish" )
66}
77
8- java.toolchain.languageVersion = JavaLanguageVersion .of(21 )
8+ java.toolchain.languageVersion = JavaLanguageVersion .of(25 )
99
1010tasks.compileJava {
1111 options.release.set(21 )
1212}
1313
14+ configurations.compileClasspath {
15+ attributes.attribute(TargetJvmVersion .TARGET_JVM_VERSION_ATTRIBUTE , 25 )
16+ }
17+
1418repositories {
1519 maven(" https://repo.papermc.io/repository/maven-public/" )
1620}
1721
1822dependencies {
1923 api(project(" :core" ))
2024 implementation(project(" :config" ))
21- compileOnly(" com.velocitypowered:velocity-api:3.5 .0-SNAPSHOT" )
25+ compileOnly(" com.velocitypowered:velocity-api:4.1 .0-SNAPSHOT" )
2226}
Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ plugins {
33 kotlin(" jvm" )
44}
55
6- java.toolchain.languageVersion = JavaLanguageVersion .of(21 )
6+ java.toolchain.languageVersion = JavaLanguageVersion .of(25 )
77
88tasks.compileJava {
9- options.release.set(21 )
9+ options.release.set(25 )
1010}
1111
1212repositories {
1313 maven(" https://repo.papermc.io/repository/maven-public/" )
1414}
1515
1616dependencies {
17- compileOnly(" com.velocitypowered:velocity-api:3.5 .0-SNAPSHOT" )
18- annotationProcessor(" com.velocitypowered:velocity-api:3.5 .0-SNAPSHOT" )
17+ compileOnly(" com.velocitypowered:velocity-api:4.1 .0-SNAPSHOT" )
18+ annotationProcessor(" com.velocitypowered:velocity-api:4.1 .0-SNAPSHOT" )
1919 implementation(project(" :velocity" ))
2020}
2121
Original file line number Diff line number Diff line change 99 requires com .velocitypowered .api ;
1010 requires dev .faststats .config ;
1111 requires dev .faststats ;
12+ requires net .kyori .adventure .api ;
1213 requires org .slf4j ;
1314
1415 requires static org .jetbrains .annotations ;
You can’t perform that action at this time.
0 commit comments