dependencies { compileOnly 'org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT' compileOnly project(':plugin') } jar{ archiveFileName = project.name + " Extension" + ".jar" } description = 'Sprint Artifacts' tasks.withType(Jar) { destinationDirectory = file("$rootDir/bin/") }