Skip to content

Commit 97233fa

Browse files
committed
Update velocity-api to 4.1.0-SNAPSHOT
1 parent 078fd9e commit 97233fa

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

‎velocity/build.gradle.kts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1010
tasks.compileJava {
1111
options.release.set(21)
1212
}
1313

14+
configurations.compileClasspath {
15+
attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 25)
16+
}
17+
1418
repositories {
1519
maven("https://repo.papermc.io/repository/maven-public/")
1620
}
1721

1822
dependencies {
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
}

‎velocity/example-plugin/build.gradle.kts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

88
tasks.compileJava {
9-
options.release.set(21)
9+
options.release.set(25)
1010
}
1111

1212
repositories {
1313
maven("https://repo.papermc.io/repository/maven-public/")
1414
}
1515

1616
dependencies {
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

‎velocity/src/main/java/module-info.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
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;

0 commit comments

Comments
 (0)