You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/run-plugin/SKILL.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
name: run-example-plugin
3
-
description: Build, test, and release ExamplePlugin (this PaperMC/Spigot plugin template) from source. Use when asked to build the plugin, run its tests, run a single test class, or produce a release JAR.
2
+
name: run-plugin
3
+
description: Build, test, and release this PaperMC/Spigot plugin from source. Use when asked to build the plugin, run its tests, run a single test class, or produce a release JAR.
4
4
---
5
5
6
-
`ExamplePlugin` is a PaperMC/Spigot plugin — "running" it means building from source,
7
-
executing the test suite, and optionally producing the shaded JAR that gets dropped into a
8
-
server's `plugins/`folder.
6
+
This is a PaperMC/Spigot plugin — "running" it means building from source, executing the test
7
+
suite, and optionally producing the shaded JAR that gets dropped into a server's `plugins/`
8
+
folder.
9
9
10
10
## Build
11
11
@@ -26,20 +26,20 @@ and all tests. Fix every warning — the build fails on the first one.
26
26
All tests pass. Subset by class:
27
27
28
28
```bash
29
-
./gradlew test --tests "com.crimsonwarpedcraft.exampleplugin.command.PingTest"
29
+
./gradlew test --tests "com.example.plugin.command.PingTest"
30
30
```
31
31
32
32
Subset by method:
33
33
34
34
```bash
35
-
./gradlew test --tests "com.crimsonwarpedcraft.exampleplugin.command.GreetTest.greetsTarget"
35
+
./gradlew test --tests "com.example.plugin.command.GreetTest.greetsTarget"
36
36
```
37
37
38
38
## Release JAR
39
39
40
40
```bash
41
41
./gradlew -Pver="v1.0.0" release
42
-
# → build/libs/ExamplePlugin.jar (version stripped from filename for stable tags)
42
+
# → build/libs/<project-name>.jar (version stripped from filename for stable tags)
43
43
```
44
44
45
45
Versioning logic (`build.gradle.kts`):
@@ -61,7 +61,7 @@ Keep these in sync with the current state of the project:
0 commit comments