Skip to content

Commit 71dab58

Browse files
committed
Update to Velocity 3.5.0-SNAPSHOT
1 parent f88c0fc commit 71dab58

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

Plan/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ subprojects {
6464
spongeVersion = "14.0.0"
6565
nukkitVersion = "1.0-SNAPSHOT"
6666
bungeeVersion = "1.16-R0.4"
67-
velocityVersion = "3.0.0-SNAPSHOT"
67+
velocityVersion = "3.5.0-SNAPSHOT"
6868
redisBungeeVersion = "0.3.8-SNAPSHOT"
6969
redisBungeeProxioDevVersion = "0.7.3"
7070

Plan/plugin/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ dependencies {
1212
implementation project(":nukkit")
1313
implementation project(":sponge")
1414
implementation project(":bungeecord")
15-
implementation project(":velocity")
15+
// Shadow configuration required to depend on Velocity due to newer Java version
16+
implementation project(path: ":velocity", configuration: "shadow")
1617

1718
// Shadow configuration required to depend on Folia due to newer Java version
1819
implementation project(path: ":folia", configuration: "shadow")

Plan/velocity/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@ plugins {
22
id "net.kyori.blossom" version "1.3.1"
33
}
44

5+
apply plugin: "com.gradleup.shadow"
6+
57
blossom {
68
replaceTokenIn("src/main/java/com/djrapitops/plan/PlanVelocity.java")
79
replaceToken("@version@", "$fullVersion")
810
}
911

12+
repositories {
13+
maven {
14+
name = "papermc"
15+
url = uri("https://repo.papermc.io/repository/maven-public/")
16+
}
17+
}
18+
1019
dependencies {
1120
implementation project(":common")
1221

@@ -21,3 +30,7 @@ dependencies {
2130
testImplementation(testFixtures(project(":common")))
2231
testImplementation(project(":extensions:adventure"))
2332
}
33+
34+
tasks.withType(JavaCompile).configureEach {
35+
options.release.set(21)
36+
}

0 commit comments

Comments
 (0)