diff --git a/build.gradle.kts b/build.gradle.kts index 13065e4..c854257 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ import java.util.* import java.io.* plugins { - id("org.jetbrains.kotlin.jvm") version ("1.6.10") + id("org.jetbrains.kotlin.jvm") version ("1.9.25") id("com.github.johnrengelman.shadow") version ("7.0.0") } @@ -25,12 +25,12 @@ tasks.register("printVersion") { dependencies { // Compile Only compileOnly("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT") - compileOnly("me.clip:placeholderapi:2.9.2") + compileOnly("me.clip:placeholderapi:2.11.6") compileOnly("org.geysermc.geyser:api:2.2.0-SNAPSHOT") // Plugin.yml Shade dependencies - implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.17.0") - implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.17.0") + implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.20.0") + implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.20.0") implementation("com.google.inject:guice:5.0.1") implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.3.0") implementation("com.fasterxml.jackson.core:jackson-databind:2.2.3") diff --git a/src/main/kotlin/com/github/shynixn/mctennis/impl/service/DependencyPlaceholderApiServiceImpl.kt b/src/main/kotlin/com/github/shynixn/mctennis/impl/service/DependencyPlaceholderApiServiceImpl.kt index d17bba4..935b745 100644 --- a/src/main/kotlin/com/github/shynixn/mctennis/impl/service/DependencyPlaceholderApiServiceImpl.kt +++ b/src/main/kotlin/com/github/shynixn/mctennis/impl/service/DependencyPlaceholderApiServiceImpl.kt @@ -58,7 +58,7 @@ class DependencyPlaceholderApiServiceImpl @Inject constructor( * @param s customText * @return result */ - override fun onPlaceholderRequest(player: Player?, params: String?): String? { + override fun onPlaceholderRequest(player: Player?, params: String): String? { if (params == null) { return null } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f8dd533..3780c8c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -6,12 +6,10 @@ main: com.github.shynixn.mctennis.MCTennisPlugin softdepend: [ PlaceholderAPI, Geyser-Spigot ] api-version: 1.13 libraries: - - com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.17.0 - - com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.17.0 - - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.3.0 - - com.fasterxml.jackson.core:jackson-databind:2.3.0 + - com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.20.0 + - com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.20.0 - com.google.inject:guice:7.0.0 - com.google.code.gson:gson:2.10.1 - - org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.23 + - org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.25 - org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3 - aopalliance:aopalliance:1.0