58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
|
|
|
|
|
|
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"
|
|
}
|
|
|
|
group = "com.github.kaaariyaaa"
|
|
version = "1.0"
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
val exposedVersion = "1.0.0-rc-4"
|
|
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.21.10-R0.1-SNAPSHOT")
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib")
|
|
|
|
implementation("net.kyori:adventure-api:4.25.0")
|
|
implementation("net.kyori:adventure-text-minimessage:4.25.0")
|
|
|
|
implementation("org.postgresql:postgresql:42.7.8")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.7.1")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
|
|
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
|
|
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
|
|
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
|
|
implementation("org.jetbrains.exposed:exposed-kotlin-datetime:$exposedVersion")
|
|
implementation("com.michael-bull.kotlin-result:kotlin-result:2.1.0")
|
|
implementation("net.hareworks:kommand-lib:1.1")
|
|
implementation("net.hareworks:permits-lib:1.1")
|
|
}
|
|
tasks {
|
|
withType<Jar> {
|
|
archiveBaseName.set("elevator")
|
|
}
|
|
shadowJar {
|
|
archiveClassifier.set("min")
|
|
minimize()
|
|
}
|
|
}
|
|
|
|
paper {
|
|
main = "com.github.kaaariyaaa.elevator.App"
|
|
name = "Elevator"
|
|
description = "Elevator plugin for PaperMC with Kotlin."
|
|
version = getVersion().toString()
|
|
apiVersion = "1.21"
|
|
authors =
|
|
listOf(
|
|
"kaaariyaaa",
|
|
)
|
|
}
|