Skip to content

Commit 37af9ab

Browse files
authored
fix/update-scoreboard-deps (#88)
2 parents 874bcb9 + ca71157 commit 37af9ab

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin.Companion.sha
22
import kotlinx.validation.KotlinApiBuildTask
33

44
plugins {
5-
id("io.papermc.paperweight.userdev") version "2.0.0-beta.14" apply false
5+
id("io.papermc.paperweight.userdev") version "2.0.0-beta.16" apply false
66
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.17.0"
77
// alias(libs.plugins.dokka)
88
}

buildSrc/src/main/kotlin/core-convention.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ extensions.configure<KotlinJvmProjectExtension> {
4141

4242
java {
4343
withSourcesJar()
44-
withJavadocJar()
44+
45+
if (project.name != "surf-api-bukkit-plugin-test") {
46+
withJavadocJar()
47+
}
4548
}
4649

4750
publishing {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ commandapi-velocity-kotlin = { module = "dev.jorel:commandapi-velocity-kotlin",
9191
# Scoreboard Library
9292
scoreboard-library-api = { module = "net.megavex:scoreboard-library-api", version.ref = "scoreboard-library" }
9393
scoreboard-library-implementation = { module = "net.megavex:scoreboard-library-implementation", version.ref = "scoreboard-library-implementation" }
94-
scoreboard-library-modern = { module = "net.megavex:scoreboard-library-modern", version.ref = "scoreboard-library-modern" }
94+
scoreboard-library-modern = { module = "net.megavex:scoreboard-library-packetevents", version.ref = "scoreboard-library-modern" }
9595

9696
# Adventure
9797
adventure-api = { module = "net.kyori:adventure-api", version.ref = "adventure-api" }

surf-api-bukkit/surf-api-bukkit-plugin-test/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ tasks {
5555
hangar("CommandAPI", "9.7.0")
5656
}
5757
}
58-
}
58+
}

surf-api-bukkit/surf-api-bukkit-server/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ paper {
9191
}
9292
}
9393

94+
configurations.compileClasspath {
95+
exclude(group = "org.spigotmc", module = "spigot-api")
96+
}
97+
9498
/**
9599
* Registers a soft dependency.
96100
*

0 commit comments

Comments
 (0)