Skip to content

Commit

Permalink
feat: 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
darksaid98 committed Sep 11, 2024
1 parent ef7613f commit 11b4226
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import java.time.Instant
plugins {
`java-library`

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

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

java {
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.
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.
withJavadocJar() // Enable Javadoc generation
withSourcesJar()
}
Expand Down Expand Up @@ -59,7 +59,7 @@ tasks {

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

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

// Misc properties
load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.POSTWORLD // STARTUP or POSTWORLD
Expand Down

0 comments on commit 11b4226

Please sign in to comment.