repositories {
    maven { url = "https://repo.opencollab.dev/maven-snapshots/" } // Nukkit snapshot
    maven { url = "https://repo.opencollab.dev/maven-releases/" } // Nukkit release
}

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

    implementation "net.playeranalytics:platform-abstraction-layer-nukkit:$palVersion"
    compileOnly "cn.nukkit:nukkit:$nukkitVersion"
    compileOnly "com.creeperface.nukkit.placeholderapi:PlaceholderAPI:$nkPlaceholderapiVersion"
    testImplementation "cn.nukkit:nukkit:$nukkitVersion"

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

shadowJar {
    relocate 'org.slf4j', 'plan.org.slf4j'
}