43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
group = "net.hareworks"
|
|
version = "1.0"
|
|
|
|
plugins {
|
|
kotlin("jvm") version "2.2.21"
|
|
id("de.eldoria.plugin-yml.paper") version "0.8.0"
|
|
id("com.gradleup.shadow") version "9.2.2"
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.21.10-R0.1-SNAPSHOT")
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib")
|
|
implementation("net.hareworks:kommand-lib:1.1")
|
|
implementation("net.hareworks:permits-lib:1.1")
|
|
implementation("net.kyori:adventure-text-minimessage:4.17.0")
|
|
implementation("net.kyori:adventure-text-serializer-plain:4.17.0")
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
paper {
|
|
main = "net.hareworks.npc_mannequin.Plugin"
|
|
name = "MannequinNPC"
|
|
version = project.version as String
|
|
apiVersion = "1.21"
|
|
description = "Mannequin!"
|
|
authors = listOf("Hareworks")
|
|
}
|
|
tasks {
|
|
withType<Jar> {
|
|
archiveBaseName.set("MannequinNPC")
|
|
}
|
|
shadowJar {
|
|
archiveClassifier.set("min")
|
|
}
|
|
}
|