Skip to content

Commit ee745af

Browse files
author
MagicTeaMC
committed
allow plugin to run on java 17 env
1 parent 446c265 commit ee745af

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎build.gradle‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version = '1.7.4'
1313
// Java Configuration
1414
java {
1515
toolchain {
16-
languageVersion = JavaLanguageVersion.of(21)
16+
languageVersion = JavaLanguageVersion.of(17)
1717
}
1818
}
1919

@@ -71,7 +71,7 @@ repositories {
7171
}
7272

7373
dependencies {
74-
compileOnly 'io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT'
74+
compileOnly 'io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT'
7575

7676
implementation 'net.kyori:adventure-platform-bukkit:4.4.1'
7777
implementation 'net.kyori:adventure-text-minimessage:4.26.1'
@@ -88,7 +88,7 @@ dependencies {
8888
compileOnly 'me.clip:placeholderapi:2.12.2'
8989
compileOnly files('./libs/Residence5.1.4.3.jar')
9090
compileOnly 'com.github.angeschossen:LandsAPI:7.17.2'
91-
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.14'
91+
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.9'
9292
compileOnly 'com.github.GriefPrevention:GriefPrevention:16.18.4'
9393
}
9494

0 commit comments

Comments
 (0)