Skip to content

Commit 5b19912

Browse files
committed
fix(paperweight): Clarify guide
1 parent ef86af0 commit 5b19912

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/en/user_guide/advanced/paperweight.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ There's no perfect solution, as it's impossible to have both dependencies at tes
2525
exclude the paperweight provided artifact at test time now with paperweight 2.
2626

2727
```kts
28+
dependencies {
29+
paperweight.paperDevBundle("your-chosen-paper-version")
30+
testImplementation("your-mockbukkit-dependency")
31+
}
32+
2833
paperweight {
2934
addServerDependencyTo = configurations.named(JavaPlugin.COMPILE_ONLY_CONFIGURATION_NAME).map { setOf(it) }
3035
}

0 commit comments

Comments
 (0)