File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
5
5
`lobbyheads- checkstyle`
6
6
7
7
id(" net.minecrell.plugin-yml.bukkit" ) version " 0.6.0"
8
- id(" com.github.johnrengelman. shadow" ) version " 8.1.1 "
8
+ id(" com.gradleup. shadow" ) version " 8.3.2 "
9
9
id(" xyz.jpenilla.run-paper" ) version " 2.3.0"
10
10
}
11
11
@@ -55,8 +55,7 @@ dependencies {
55
55
}
56
56
57
57
java {
58
- sourceCompatibility = JavaVersion .VERSION_17
59
- targetCompatibility = JavaVersion .VERSION_17
58
+ toolchain.languageVersion.set(JavaLanguageVersion .of(21 ))
60
59
}
61
60
62
61
bukkit {
@@ -80,8 +79,9 @@ bukkit {
80
79
}
81
80
82
81
tasks.compileJava {
83
- options.compilerArgs = listOf (" -Xlint:deprecation" , " -Xlint:unchecked " )
82
+ options.compilerArgs = listOf (" -Xlint:deprecation" , " -parameters " )
84
83
options.encoding = " UTF-8"
84
+ options.release = 17
85
85
}
86
86
87
87
tasks.test {
You can’t perform that action at this time.
0 commit comments