repositories {
    maven { // Placeholder API repository
        url = "https://repo.extendedclip.com/content/repositories/placeholderapi/"
    }
}

dependencies {
    compileOnly project(":common")
    implementation project(path: ":common", configuration: 'shadow')
    compileOnly project(":api")

    implementation "net.playeranalytics:platform-abstraction-layer-bukkit:$palVersion"
    implementation "org.bstats:bstats-bukkit:$bstatsVersion"
    compileOnly "me.clip:placeholderapi:$placeholderapiVersion"

    compileOnly "com.destroystokyo.paper:paper-api:$paperVersion"
    testImplementation "com.destroystokyo.paper:paper-api:$paperVersion"

    testImplementation project(path: ":common", configuration: 'testArtifacts')
}

shadowJar {
    relocate 'org.bstats', 'com.djrapitops.plan.utilities.metrics'
    relocate 'org.slf4j', 'plan.org.slf4j'
}