File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" )
Original file line number Diff line number Diff 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+
57blossom {
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+
1019dependencies {
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+ }
You can’t perform that action at this time.
0 commit comments