v1.1.0 - 1.21 support, itemsadder fix

1.21.X support, update messages.yml, replace kotlin libs to java libs, itemsadder material search fix, documented (no) ignoreConfirm command, onDrag handle in singlepage gui, colorful name fix in singlepage
This commit is contained in:
redtea committed 2025-11-06 02:05:22 +03:00
1 parent 5cd86f3850
commit 50bb40d701
14 files changed
+279 -96

No files matched your search

+13 -16
View File
@@ -2,11 +2,10 @@ plugins {
id 'java'
id("com.github.johnrengelman.shadow") version "7.0.0"
id("xyz.jpenilla.run-paper") version "2.1.0"
id 'org.jetbrains.kotlin.jvm' version '1.9.23'
}
group = 'me.redtea'
version = '1.0.5-HOTFIX'
version = '1.1.0-STABLE'
repositories {
mavenCentral()
@@ -33,22 +32,25 @@ repositories {
maven {
url 'https://jitpack.io'
}
maven {
url = "https://repo.triumphteam.dev/snapshots/"
}
}
dependencies {
runtimeOnly("org.jetbrains.kotlin:kotlin-reflect:1.9.23")
implementation "org.jetbrains:annotations:24.0.0"
compileOnly "org.projectlombok:lombok:1.18.26"
annotationProcessor 'org.projectlombok:lombok:1.18.26'
compileOnly "com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT"
// implementation "me.mattstudios.utils:matt-framework:1.4"
implementation "tech.carcadex:kotlinbukkitkit-commands:1.0.0.4b-SNAPSHOT"
implementation "de.tr7zw:item-nbt-api:2.12.3"
// implementation "tech.carcadex:kotlinbukkitkit-commands:1.0.0.4b-SNAPSHOT"
implementation "de.tr7zw:item-nbt-api:2.15.3"
implementation "net.kyori:adventure-api:4.14.0"
implementation "net.kyori:adventure-platform-bukkit:4.3.0"
implementation files("libs/MiniMessages.jar")
implementation "dev.triumphteam:triumph-gui:3.1.2"
compileOnly "com.github.LoneDev6:API-ItemsAdder:3.5.0b"
implementation "dev.triumphteam:triumph-gui:3.1.13"
implementation "dev.triumphteam:triumph-cmd-bukkit:2.0.0-BETA-4"
compileOnly "com.github.LoneDev6:API-ItemsAdder:3.6.1"
compileOnly files("libs/nodropxforgebridge-1.4.jar")
}
@@ -68,11 +70,7 @@ tasks.withType(JavaCompile).configureEach {
}
}
compileKotlin {
kotlinOptions {
jvmTarget=1.8
}
}
processResources {
def props = [version: version]
@@ -85,9 +83,8 @@ processResources {
shadowJar {
relocate 'de.tr7zw.changeme.nbtapi', 'me.redtea.nodropx.libs.tr7zw.nbt'
relocate 'de.tr7zw.annotations', 'me.redtea.nodropx.libs.tr7zw.annotations'
relocate 'dev.triumphteam', 'me.redtea.nodropx.libs.gui'
relocate 'de.tr7zw', 'me.redtea.nodropx.libs.tr7zw'
relocate 'dev.triumphteam', 'me.redtea.nodropx.libs.triumphteam'
relocate 'org.checkerframework', 'me.redtea.nodropx.libs.message.oskarsmc.libs.checker'
relocate 'org.intellij', 'me.redtea.nodropx.libs.intellij'
relocate 'org.jetbrains', 'me.redtea.nodropx.libs.jetbrains'}