File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff 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
266259shadowJar {
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
280266tasks.withType<ShadowJar> {
281267 // TODO: Change this to my own package name
282268 relocate("dev.jorel.commandapi", "my.custom.package.commandapi")
You can’t perform that action at this time.
0 commit comments