Configuring kotlin and libs

This commit is contained in:
redtea committed 2024-03-31 23:52:09 +03:00
1 parent 395037cba5
commit 6015933000
3 files changed
+9 -2

No files matched your search

+9 -1
View File
@@ -2,6 +2,7 @@ plugins {
id 'java'
id("com.github.johnrengelman.shadow") version "7.0.0"
id("xyz.jpenilla.run-paper") version "2.1.0"
id 'org.jetbrains.kotlin.jvm' version '1.9.23'
}
group = 'me.redtea'
@@ -35,12 +36,13 @@ repositories {
}
dependencies {
runtimeOnly("org.jetbrains.kotlin:kotlin-reflect:1.9.23")
implementation "org.jetbrains:annotations:24.0.0"
compileOnly "org.projectlombok:lombok:1.18.26"
annotationProcessor 'org.projectlombok:lombok:1.18.26'
compileOnly "com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT"
// implementation "me.mattstudios.utils:matt-framework:1.4"
implementation("tech.carcadex:kotlinbukkitkit-commands:1.0.0.4-SNAPSHOT")
implementation "tech.carcadex:kotlinbukkitkit-commands:1.0.0.4b-SNAPSHOT"
implementation "de.tr7zw:item-nbt-api:2.12.3"
implementation "net.kyori:adventure-api:4.14.0"
implementation "net.kyori:adventure-platform-bukkit:4.3.0"
@@ -66,6 +68,12 @@ tasks.withType(JavaCompile).configureEach {
}
}
compileKotlin {
kotlinOptions {
jvmTarget=1.8
}
}
processResources {
def props = [version: version]
inputs.properties props
Binary file not shown.
@@ -12,7 +12,6 @@ import me.redtea.nodropx.service.event.EventService;
import me.redtea.nodropx.service.material.ItemStackService;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;