Skip to content

Commit 36904c1

Browse files
committed
Remove unnecessary dependencies section from shadowJar configuration in the documentation
1 parent 543c329 commit 36904c1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docssrc/src/setup_shading.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -257,43 +257,27 @@ Then we add it to the `shadowJar` task configuration and relocate the CommandAPI
257257
258258
```groovy,build.gradle_(Spigot_Mappings)
259259
shadowJar {
260-
dependencies {
261-
include dependency("dev.jorel:commandapi-bukkit-shade:9.6.0-SNAPSHOT")
262-
}
263-
264260
// TODO: Change this to my own package name
265261
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
266262
}
267263
```
268264
269265
```groovy,build.gradle_(Mojang_Mappings)
270266
shadowJar {
271-
dependencies {
272-
include dependency("dev.jorel:commandapi-bukkit-shade-mojang-mapped:9.6.0-SNAPSHOT")
273-
}
274-
275267
// TODO: Change this to my own package name
276268
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
277269
}
278270
```
279271
280272
```kotlin,build.gradle.kts_(Spigot_Mappings)
281273
tasks.withType<ShadowJar> {
282-
dependencies {
283-
include(dependency("dev.jorel:commandapi-bukkit-shade:9.6.0-SNAPSHOT"))
284-
}
285-
286274
// TODO: Change this to my own package name
287275
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
288276
}
289277
```
290278
291279
```kotlin,build.gradle.kts_(Mojang_Mappings)
292280
tasks.withType<ShadowJar> {
293-
dependencies {
294-
include(dependency("dev.jorel:commandapi-bukkit-shade-mojang-mapped:9.6.0-SNAPSHOT"))
295-
}
296-
297281
// TODO: Change this to my own package name
298282
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
299283
}

0 commit comments

Comments
 (0)