2023-02-20 19:04:37 +01:00
|
|
|
plugins {
|
2024-07-08 21:20:16 +02:00
|
|
|
kotlin("jvm") version "2.0.0"
|
2023-02-20 19:04:37 +01:00
|
|
|
id("com.github.johnrengelman.shadow") version "7.1.2"
|
2024-05-13 22:40:29 +02:00
|
|
|
id("io.papermc.paperweight.userdev") version "1.7.1"
|
2024-07-08 21:20:16 +02:00
|
|
|
id("xyz.jpenilla.run-paper") version "2.3.0"
|
2023-02-20 19:04:37 +01:00
|
|
|
}
|
|
|
|
|
2023-12-31 02:09:38 +01:00
|
|
|
group = "xyz.ineanto.dragon"
|
2024-07-08 21:20:16 +02:00
|
|
|
version = "1.1"
|
2023-02-20 19:04:37 +01:00
|
|
|
|
|
|
|
repositories {
|
2024-07-08 21:20:16 +02:00
|
|
|
gradlePluginPortal()
|
2023-12-31 02:09:38 +01:00
|
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
2023-02-20 19:04:37 +01:00
|
|
|
maven("https://maven.enginehub.org/repo")
|
|
|
|
maven("https://repo.xenondevs.xyz/releases")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Spigot
|
2024-07-08 21:20:16 +02:00
|
|
|
paperweight.paperDevBundle("1.21-R0.1-SNAPSHOT")
|
|
|
|
|
|
|
|
// Game Libraries
|
2024-07-09 12:07:30 +02:00
|
|
|
compileOnly("xyz.xenondevs.invui:invui:1.33")
|
|
|
|
compileOnly("xyz.xenondevs.invui:invui-kotlin:1.33")
|
|
|
|
|
2024-07-08 21:20:16 +02:00
|
|
|
implementation("ru.brikster:glyphs-api:1.1.0")
|
|
|
|
implementation("ru.brikster:glyphs-resources:1.1.0")
|
|
|
|
implementation("team.unnamed:creative-api:1.7.2")
|
|
|
|
// Serializer for Minecraft format (ZIP / Folder)
|
|
|
|
implementation("team.unnamed:creative-serializer-minecraft:1.7.2")
|
2023-12-31 02:09:38 +01:00
|
|
|
|
|
|
|
// Stdlib
|
2024-07-08 21:20:16 +02:00
|
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.0.0")
|
2023-12-31 02:09:38 +01:00
|
|
|
// Commons IO
|
|
|
|
implementation("commons-io:commons-io:2.11.0")
|
2023-02-20 19:04:37 +01:00
|
|
|
}
|
|
|
|
|
2023-06-26 15:36:57 +02:00
|
|
|
kotlin {
|
2023-12-31 02:09:38 +01:00
|
|
|
jvmToolchain(21)
|
2023-06-26 15:36:57 +02:00
|
|
|
}
|
2023-02-20 19:04:37 +01:00
|
|
|
|
|
|
|
tasks {
|
2024-07-08 21:20:16 +02:00
|
|
|
runServer {
|
|
|
|
minecraftVersion("1.21")
|
|
|
|
}
|
2023-02-20 19:04:37 +01:00
|
|
|
}
|