Skip to content

Commit 11b4226

Browse files
committed
feat: 1.21.1
1 parent ef7613f commit 11b4226

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.gradle.kts

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import java.time.Instant
44
plugins {
55
`java-library`
66

7-
id("com.github.johnrengelman.shadow") version "8.1.1" // Shades and relocates dependencies, See https://imperceptiblethoughts.com/shadow/introduction/
8-
id("xyz.jpenilla.run-paper") version "2.3.0" // Adds runServer and runMojangMappedServer tasks for testing
7+
id("io.github.goooler.shadow") version "8.1.8" // Shades and relocates dependencies, See https://imperceptiblethoughts.com/shadow/introduction/
8+
id("xyz.jpenilla.run-paper") version "2.3.1" // Adds runServer and runMojangMappedServer tasks for testing
99
id("net.minecrell.plugin-yml.bukkit") version "0.6.0" // Automatic plugin.yml generation
1010

1111
eclipse
@@ -18,7 +18,7 @@ description = ""
1818
val mainPackage = "${project.group}.${rootProject.name.lowercase()}"
1919

2020
java {
21-
toolchain.languageVersion.set(JavaLanguageVersion.of(17)) // Configure the java toolchain. This allows gradle to auto-provision JDK 17 on systems that only have JDK 8 installed for example.
21+
toolchain.languageVersion.set(JavaLanguageVersion.of(21)) // Configure the java toolchain. This allows gradle to auto-provision JDK 17 on systems that only have JDK 8 installed for example.
2222
withJavadocJar() // Enable Javadoc generation
2323
withSourcesJar()
2424
}
@@ -59,7 +59,7 @@ tasks {
5959

6060
// Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable.
6161
// See https://openjdk.java.net/jeps/247 for more information.
62-
options.release.set(17)
62+
options.release.set(21)
6363
options.compilerArgs.addAll(arrayListOf("-Xlint:all", "-Xlint:-processing", "-Xdiags:verbose"))
6464
}
6565

@@ -118,7 +118,7 @@ bukkit { // Options: https://github.com/Minecrell/plugin-yml#bukkit
118118
description = "${project.description}"
119119
authors = listOf("darksaid98")
120120
contributors = listOf()
121-
apiVersion = "1.19"
121+
apiVersion = "1.21"
122122

123123
// Misc properties
124124
load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.POSTWORLD // STARTUP or POSTWORLD

0 commit comments

Comments
 (0)