Skip to content

Commit

Permalink
Bump minimum Java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Jun 9, 2024
1 parent cf49f33 commit d89e6b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ commands, so that any player can easily understand how to use all of its feature
To use this plugin, you can simply download it from [CurseForge](https://www.curseforge.com/minecraft/bukkit-plugins/blockprot),
[Modrinth](https://modrinth.com/plugin/blockprot) or [SpigotMC](https://www.spigotmc.org/resources/blockprot.87829/)
and place it in your `plugins` directory. You do not have to install anything else and any recent
version will work with 1.14, 1.15, 1.16, 1.17 and 1.18. It runs on any Spigot and any fork thereof
and does **not** run on CraftBukkit.
version will work with any recent Minecraft version, as long as you're running Java 17 or higher.
It runs on any Spigot and any fork thereof and does **not** run on CraftBukkit.

To get the latest updates the quickest, you can "watch" or "star" this repository or frequently
check the [Release tab](https://github.com/spnda/BlockProt/releases). Alternatively, it is also
Expand All @@ -35,7 +35,7 @@ Spigot, which will also notify you as soon as new builds get released.

---

If you want to build the plugin from source yourself, you can simply do so by installing JDK 16
If you want to build the plugin from source yourself, you can simply do so by installing JDK 17
or newer, cloning this repository and running `./gradlew build` in the main directory.

## Translating
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ allprojects {
}

tasks.compileJava {
options.release.set(16)
java.sourceCompatibility = JavaVersion.VERSION_16
java.targetCompatibility = JavaVersion.VERSION_16
options.release.set(17)
java.sourceCompatibility = JavaVersion.VERSION_17
java.targetCompatibility = JavaVersion.VERSION_17
}

ext["gitBranchName"] = gitBranchName()
Expand Down
2 changes: 1 addition & 1 deletion spigot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ tasks.processResources {

tasks.javadoc {
options {
source = "16"
source = "17"
encoding = "UTF-8"
memberLevel = JavadocMemberLevel.PACKAGE
(this as CoreJavadocOptions).addStringOption("Xdoclint:none", "-quiet")
Expand Down

0 comments on commit d89e6b9

Please sign in to comment.