36 lines
869 B
Kotlin
36 lines
869 B
Kotlin
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"))
|
|
}
|