// :extensions:adventure is used to avoid relocating 'net.kyori.adventure.*'
// as it is used & provided natively on some platforms

dependencies {
    compileOnly project(':api')
    compileOnly project(':common')
    shadow "net.kyori:adventure-text-serializer-gson:$adventureVersion"
    shadow "net.kyori:adventure-text-serializer-legacy:$adventureVersion"
    shadow "net.kyori:adventure-text-minimessage:$adventureVersion"
}

shadowJar {
    relocate 'net.kyori', 'plan.net.kyori'

    // Exclude some stuff included from the root build.gradle
    exclude 'dagger/**'
    exclude 'javax/inject/**'
}
