- -**The repositories:** -```kotlin -jcenter() -mavenCentral() -maven("https://jitpack.io") -``` - -**The dependency:** - -```kotlin -implementation("net.axay", "KSpigot", "VERSION_HERE") -``` - -
-- -**The repositories:** -```groovy -jcenter() -mavenCentral() -maven { url 'https://jitpack.io' } -``` - -**The dependency:** - -```groovy -implementation 'net.axay:KSpigot:VERSION_HERE' -``` - -
-
-
-**The repositories:**
-```xml
-
-
-You **must** use a shade / shadow plugin with your build system. KSpigot needs to be relocated.
-
-#### GRADLE
-
-The plugin:
-```kotlin
-id("com.github.johnrengelman.shadow") version "6.0.0"
-```
-
-Now KSpigot needs to be relocated by using one of the following methods:
-
-
-
-Add the following to your buildscript:
-```kotlin
-tasks {
- shadowJar {
- relocate("net.axay.kspigot", "${project.group}.shadow.net.axay.kspigot")
- }
-}
-```
-
-
-
-Add the following to your buildscript:
-```kotlin
-val relocateShadowJar by tasks.creating(ConfigureShadowRelocation::class) {
- target = tasks.shadowJar.get()
- prefix = "${project.group}.shadow"
-}
-
-tasks.shadowJar.get().dependsOn(relocateShadowJar)
-```
-
-Relocate only KSpigot
-Relocate all of your dependencies
-