Minimum required Java version is now 16, drop support for spigot versions < 1.16.5

This commit is contained in:
Lukas Rieger (Blue) 2024-03-29 13:08:59 +01:00
parent 757979b7b4
commit 498a4f3190
No known key found for this signature in database
GPG Key ID: AA33883B1BBA03E6
5 changed files with 7 additions and 10 deletions

View File

@ -12,7 +12,7 @@ plugins {
group = "de.bluecolored.bluemap.common" group = "de.bluecolored.bluemap.common"
version = "0.0.0" version = "0.0.0"
val javaTarget = 11 val javaTarget = 16
java { java {
sourceCompatibility = JavaVersion.toVersion(javaTarget) sourceCompatibility = JavaVersion.toVersion(javaTarget)
targetCompatibility = JavaVersion.toVersion(javaTarget) targetCompatibility = JavaVersion.toVersion(javaTarget)

View File

@ -46,7 +46,7 @@ version = lastVersion +
System.setProperty("bluemap.version", version.toString()) System.setProperty("bluemap.version", version.toString())
println("Version: $version") println("Version: $version")
val javaTarget = 11 val javaTarget = 16
java { java {
sourceCompatibility = JavaVersion.toVersion(javaTarget) sourceCompatibility = JavaVersion.toVersion(javaTarget)
targetCompatibility = JavaVersion.toVersion(javaTarget) targetCompatibility = JavaVersion.toVersion(javaTarget)

View File

@ -9,7 +9,7 @@ plugins {
group = "de.bluecolored.bluemap.cli" group = "de.bluecolored.bluemap.cli"
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
val javaTarget = 11 val javaTarget = 16
java { java {
sourceCompatibility = JavaVersion.toVersion(javaTarget) sourceCompatibility = JavaVersion.toVersion(javaTarget)
targetCompatibility = JavaVersion.toVersion(javaTarget) targetCompatibility = JavaVersion.toVersion(javaTarget)

View File

@ -10,7 +10,7 @@ plugins {
group = "de.bluecolored.bluemap.bukkit" group = "de.bluecolored.bluemap.bukkit"
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
val javaTarget = 11 val javaTarget = 16
java { java {
sourceCompatibility = JavaVersion.toVersion(javaTarget) sourceCompatibility = JavaVersion.toVersion(javaTarget)
targetCompatibility = JavaVersion.toVersion(javaTarget) targetCompatibility = JavaVersion.toVersion(javaTarget)
@ -42,7 +42,7 @@ dependencies {
exclude( group = "com.google.code.gson", module = "gson" ) exclude( group = "com.google.code.gson", module = "gson" )
} }
shadow ("org.spigotmc:spigot-api:1.13-R0.1-SNAPSHOT") shadow ("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
implementation ("org.bstats:bstats-bukkit:2.2.1") implementation ("org.bstats:bstats-bukkit:2.2.1")
testImplementation ("org.junit.jupiter:junit-jupiter:5.8.2") testImplementation ("org.junit.jupiter:junit-jupiter:5.8.2")
@ -128,10 +128,7 @@ modrinth {
uploadFile.set(tasks.findByName("shadowJar")) uploadFile.set(tasks.findByName("shadowJar"))
loaders.addAll("spigot", "paper", "purpur") loaders.addAll("spigot", "paper", "purpur")
gameVersions.addAll( gameVersions.addAll(
"1.13.2", "1.16.5",
"1.14", "1.14.1", "1.14.2", "1.14.3", "1.14.4",
"1.15", "1.15.1", "1.15.2",
"1.16", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5",
"1.17", "1.17.1", "1.17", "1.17.1",
"1.18", "1.18.1", "1.18.2", "1.18", "1.18.1", "1.18.2",
"1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4",

View File

@ -2,7 +2,7 @@ name: BlueMap
description: "A 3d-map of your Minecraft worlds view-able in your browser using three.js (WebGL)" description: "A 3d-map of your Minecraft worlds view-able in your browser using three.js (WebGL)"
main: de.bluecolored.bluemap.bukkit.BukkitPlugin main: de.bluecolored.bluemap.bukkit.BukkitPlugin
version: "${version}" version: "${version}"
api-version: 1.13 api-version: 1.16
author: "Blue (TBlueF / Lukas Rieger)" author: "Blue (TBlueF / Lukas Rieger)"
website: "https://github.com/BlueMap-Minecraft" website: "https://github.com/BlueMap-Minecraft"
commands: commands: