Skip to content

Commit 4239d48

Browse files
committed
Reword previously modified section a bit
1 parent 36904c1 commit 4239d48

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

docssrc/src/setup_shading.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -251,32 +251,18 @@ dependencies {
251251
252252
</div>
253253
254-
Then we add it to the `shadowJar` task configuration and relocate the CommandAPI to your desired location:
254+
Then you just need to relocate the CommandAPI to your desired location in the `shadowJar` task configuration:
255255
256256
<div class="multi-pre">
257257
258-
```groovy,build.gradle_(Spigot_Mappings)
259-
shadowJar {
260-
// TODO: Change this to my own package name
261-
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
262-
}
263-
```
264-
265-
```groovy,build.gradle_(Mojang_Mappings)
258+
```groovy,build.gradle
266259
shadowJar {
267260
// TODO: Change this to my own package name
268261
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
269262
}
270263
```
271264
272-
```kotlin,build.gradle.kts_(Spigot_Mappings)
273-
tasks.withType<ShadowJar> {
274-
// TODO: Change this to my own package name
275-
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
276-
}
277-
```
278-
279-
```kotlin,build.gradle.kts_(Mojang_Mappings)
265+
```kotlin,build.gradle.kts
280266
tasks.withType<ShadowJar> {
281267
// TODO: Change this to my own package name
282268
relocate("dev.jorel.commandapi", "my.custom.package.commandapi")

0 commit comments

Comments
 (0)