mirror of
https://github.com/plexusorg/ItemizerX.git
synced 2026-06-04 03:36:54 +00:00
Updated ItemizerX to the latest stable Paper version (1.21.8)
Given the complexity of the NMS update (including data components), I have decided to omit the support of older MC versions and maintain multiversion compatibility from 1.21.8 onwards from v2.4. I suspect this may not change much in the future, making it easier to maintain. In the future, I may look into moving away from NMS provided Paper is now exposing them in Paper API via Data Components This also closes #1
This commit is contained in:
+11
-15
@@ -2,14 +2,14 @@ import xyz.jpenilla.runpaper.task.RunServer
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
id("io.github.goooler.shadow") version "8.1.7"
|
||||
id("io.papermc.paperweight.userdev") version "1.7.1"
|
||||
id("xyz.jpenilla.run-paper") version "2.3.0"
|
||||
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
|
||||
id("com.gradleup.shadow") version "9.2.2"
|
||||
id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
|
||||
id("xyz.jpenilla.run-paper") version "3.0.2"
|
||||
id("de.eldoria.plugin-yml.bukkit") version "0.8.0"
|
||||
}
|
||||
|
||||
group = "dev.plex"
|
||||
version = "2.3"
|
||||
version = "2.4"
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
@@ -30,7 +30,7 @@ allprojects {
|
||||
|
||||
subprojects {
|
||||
apply(plugin = "java")
|
||||
apply(plugin = "io.github.goooler.shadow")
|
||||
apply(plugin = "com.gradleup.shadow")
|
||||
apply(plugin = "io.papermc.paperweight.userdev")
|
||||
|
||||
dependencies {
|
||||
@@ -56,7 +56,7 @@ bukkit {
|
||||
description = "A new way to edit your items"
|
||||
authors = listOf("Focusvity", "Telesphoreo")
|
||||
main = "dev.plex.itemizerx.ItemizerX"
|
||||
apiVersion = "1.19"
|
||||
apiVersion = "1.21"
|
||||
foliaSupported = true
|
||||
softDepend = listOf("CoreProtect")
|
||||
commands {
|
||||
@@ -69,8 +69,7 @@ bukkit {
|
||||
}
|
||||
|
||||
// Adapted from PlotSquared
|
||||
val supportedVersions =
|
||||
listOf("1.20.2", "1.20.4", "1.20.6", "1.21")
|
||||
val supportedVersions = listOf("1.21.8")
|
||||
tasks {
|
||||
supportedVersions.forEach {
|
||||
register<RunServer>("runServer-$it") {
|
||||
@@ -98,14 +97,11 @@ tasks {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
paperweight.paperDevBundle("1.20.6-R0.1-SNAPSHOT")
|
||||
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
|
||||
paperweight.paperDevBundle("1.21.8-R0.1-SNAPSHOT")
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
|
||||
compileOnly("net.coreprotect:coreprotect:22.4")
|
||||
implementation("org.bstats:bstats-base:3.0.2")
|
||||
implementation("org.bstats:bstats-bukkit:3.0.2")
|
||||
implementation(project(path = ":shared", configuration = "shadow"))
|
||||
//implementation(project(path = ":v1_21_R1", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_20_R4", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_20_R3", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_20_R2", configuration = "shadow"))
|
||||
implementation(project(path = ":v1_21_R1", configuration = "shadow"))
|
||||
}
|
||||
Reference in New Issue
Block a user