Commands: one plugin - one command manager, sender as player
Kotlin 1.9.20
Genref update
This commit is contained in:
redtea committed 2024-06-27 01:22:23 +03:00
1 parent 6648337a34
commit bace476970
32 files changed
+264 -116

No files matched your search

+11
View File
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("java")
kotlin("jvm")
@@ -22,6 +24,7 @@ dependencies {
compileOnly("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
compileOnly(project(":extensions"))
implementation(kotlin("reflect"))
implementation(kotlin("stdlib-jdk8"))
}
tasks.test {
@@ -120,4 +123,12 @@ tasks.shadowJar {
}
}
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}