Skip to content

Commit 66d467e

Browse files
committed
Change paper-api to a non-required dependency
Allows forks to be used instead of being stuck to use paper-api
1 parent 83ce1dd commit 66d467e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

interfaces/build.gradle.kts

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ plugins {
55

66
dependencies {
77
compileOnlyApi(libs.adventure.api)
8-
compileOnlyApi(libs.paper.api) {
8+
compileOnlyApi(libs.guava)
9+
10+
// Paper-api is not marked as api, it is expected that
11+
// some version of Paper is present in the final plugin!
12+
// But this may be some fork instead of the regular paper.
13+
compileOnly(libs.paper.api) {
914
isTransitive = false
1015
}
11-
compileOnlyApi(libs.guava)
1216

1317
api(libs.kotlin.coroutines)
1418
api(libs.slf4j)

0 commit comments

Comments
 (0)