This commit is contained in:
Keisuke Hirata 2025-11-27 07:40:32 +09:00
parent 3be9a59370
commit f61c95f3ab
3 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
group = "net.hareworks"
version = "1.0"
version = "1.1"
val exposedVersion = "0.54.0"
@ -9,7 +9,7 @@ plugins {
kotlin("jvm") version "2.0.20"
kotlin("plugin.serialization") version "2.0.20"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("com.gradleup.shadow") version "9.2.2"
}
repositories {
mavenCentral()
@ -27,13 +27,18 @@ dependencies {
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1")
implementation("org.jetbrains.exposed:exposed-kotlin-datetime:$exposedVersion")
compileOnly("de.tr7zw:item-nbt-api-plugin:2.15.3")
implementation("de.tr7zw:item-nbt-api:2.15.3")
implementation("com.michael-bull.kotlin-result:kotlin-result:2.0.0")
}
tasks {
shadowJar {
archiveBaseName.set("SimplyMCDB")
archiveClassifier.set("")
relocate("de.tr7zw.changeme.nbtapi", "net.hareworks.simplymcdb.libs.nbtapi")
}
build {
dependsOn(shadowJar)
}
}
@ -45,7 +50,6 @@ bukkit {
apiVersion = "1.21.10"
authors =
listOf("Hare-K02")
depend = listOf("NBTAPI")
permissions {
register("simplydb.*") {
children = listOf("simplydb.command", "simplydb.admin")

View File

@ -1,6 +1,6 @@
package net.hareworks.simplymcdb
import de.tr7zw.nbtapi.NBT
import de.tr7zw.changeme.nbtapi.NBT
import java.util.Base64
import java.util.function.Function
import io.papermc.paper.registry.RegistryAccess