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
***spigot-debug:** build version inference on `debugPaper`, `debugSpigot` ([a02f7e3](https://github.com/spigradle/spigradle/commit/a02f7e38a14a582bf3de2c46bd4178c10dd74ef9))
Copy file name to clipboardExpand all lines: docs/spigot_plugin.md
+34-4Lines changed: 34 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,14 +60,14 @@ Groovy DSL
60
60
61
61
```groovy
62
62
plugins {
63
-
id 'kr.entree.spigradle' version '2.3.2'
63
+
id 'kr.entree.spigradle' version '2.3.3'
64
64
}
65
65
```
66
66
Kotlin DSL
67
67
68
68
```kotlin
69
69
plugins {
70
-
id("kr.entree.spigradle") version "2.3.2"
70
+
id("kr.entree.spigradle") version "2.3.3"
71
71
}
72
72
```
73
73
@@ -80,7 +80,7 @@ buildscript {
80
80
gradlePluginPortal()
81
81
}
82
82
dependencies {
83
-
classpath 'kr.entree:spigradle:2.3.2'
83
+
classpath 'kr.entree:spigradle:2.3.3'
84
84
}
85
85
}
86
86
@@ -98,7 +98,7 @@ buildscript {
98
98
gradlePluginPortal()
99
99
}
100
100
dependencies {
101
-
classpath("kr.entree:spigradle:2.3.2")
101
+
classpath("kr.entree:spigradle:2.3.3")
102
102
}
103
103
}
104
104
@@ -165,6 +165,34 @@ This affects both tasks `debugSpigot`, `debugPaper`, also to [IDEA RunConfigurat
165
165
166
166
More information: [Tasks](#tasks)
167
167
168
+
### Exclusion
169
+
170
+
[comment]: <>(!! Do not edit this file but 'docs/templates' or 'docs/root-templates', See [CONTRIBUTING.md] !!)
171
+
172
+
If you want to exclude some plugins, this is an example,
173
+
174
+
Kotlin:
175
+
176
+
```kotlin
177
+
tasks {
178
+
prepareSpigotPlugins {
179
+
exclude("**/worldedit*.jar")
180
+
exclude("**/worldguard*.jar")
181
+
}
182
+
}
183
+
```
184
+
185
+
Groovy:
186
+
187
+
```groovy
188
+
prepareSpigotPlugins {
189
+
exclude '**/worldedit*.jar' // or exclude 'worldedit*.jar'?
190
+
exclude '**/worldguard*.jar'
191
+
}
192
+
```
193
+
194
+
Then WorldEdit and WorldGuard will be excluded by the `prepareSpigotPlugins` which a [Copy](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Copy.html) task, you can use all the `Copy` features.
195
+
168
196
## Configuration
169
197
170
198
[comment]: <>(!! Do not edit this file but 'docs/templates' or 'docs/root-templates', See [CONTRIBUTING.md] !!)
@@ -186,6 +214,7 @@ About the `plugin.yml`, See [plugin-yml wiki](https://www.spigotmc.org/wiki/plug
0 commit comments