Skip to content

Commit

Permalink
Use java-client-java11 and exclude conflicting dependencies
Browse files Browse the repository at this point in the history
Replaces `java-client` with `java-client-java11` for compatibility. Excludes Gson and Guava to prevent dependency conflicts during runtime. This ensures a cleaner dependency tree and avoids potential issues.
  • Loading branch information
NonSwag committed Jan 23, 2025
1 parent ef734d7 commit 2daa1ae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ dependencies {
implementation("net.thenextlvl.core:i18n:1.0.20")
implementation("net.thenextlvl.core:paper:2.0.3")
implementation("org.bstats:bstats-bukkit:3.1.0")
implementation("org.mineskin:java-client:3.0.1-SNAPSHOT") {
isTransitive = false
}
implementation("org.mineskin:java-client-java11:3.0.1-SNAPSHOT") {
isTransitive = false
exclude("com.google.code.gson", "gson")
exclude("com.google.guava", "guava")
}
implementation(project(":api"))

Expand Down

0 comments on commit 2daa1ae

Please sign in to comment.