Skip to content

Commit

Permalink
#49 Fixed placeholder api reference and remove obsolete binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shynixn committed Oct 27, 2024
1 parent 9002961 commit 82b0dd4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand All @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
8 changes: 3 additions & 5 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 82b0dd4

Please sign in to comment.