This commit is contained in:
2024-03-28 01:14:05 +08:00
commit c4892410c4
34 changed files with 1902 additions and 0 deletions

35
build.gradle.kts Normal file
View File

@@ -0,0 +1,35 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
kotlin("jvm") version "1.9.22"
}
group = "xyz.fortern"
version = "1.0"
java {
sourceCompatibility = JavaVersion.VERSION_17
}
kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
// Paper API https://mvnrepository.com/artifact/net.kyori/adventure-api
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
// Adventure API
compileOnly("net.kyori:adventure-api:4.14.0")
// Kotlin Stdlib https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib
implementation(kotlin("stdlib"))
// Kotlin Reflect https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect
runtimeOnly(kotlin("reflect"))
}