54 lines
No EOL
1.2 KiB
Kotlin
54 lines
No EOL
1.2 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.kotlin)
|
|
alias(libs.plugins.shadow)
|
|
alias(libs.plugins.paperweight)
|
|
alias(libs.plugins.run.paper)
|
|
}
|
|
|
|
group = "xyz.ineanto.dragon"
|
|
version = "1.1"
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
maven("https://maven.enginehub.org/repo")
|
|
maven("https://repo.xenondevs.xyz/releases")
|
|
}
|
|
|
|
dependencies {
|
|
// Paper
|
|
paperweight.paperDevBundle("1.21.8-R0.1-SNAPSHOT")
|
|
|
|
// Inventory UI
|
|
implementation(libs.invui)
|
|
implementation(libs.invui.kotlin)
|
|
|
|
// WorldEdit
|
|
compileOnly("com.sk89q.worldedit:worldedit-core:7.3.16-SNAPSHOT")
|
|
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.3.16-SNAPSHOT")
|
|
|
|
implementation(libs.kotlin.stdlib)
|
|
implementation(libs.commonsio)
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.REOBF_PRODUCTION
|
|
|
|
tasks {
|
|
shadowJar {
|
|
manifest {
|
|
attributes["paperweight-mappings-namespace"] = "spigot"
|
|
}
|
|
}
|
|
|
|
runServer {
|
|
minecraftVersion("1.21.8")
|
|
|
|
downloadPlugins {
|
|
url("https://cdn.modrinth.com/data/1u6JkXh5/versions/Jk1z2u7n/worldedit-bukkit-7.3.16.jar")
|
|
}
|
|
}
|
|
} |