plugins { id("java") id("java-library") id("maven-publish") } group = "de.kentoj.scrow" repositories { mavenCentral() } dependencies { api(project(":core-lib")) api("org.spigotmc:spigot-api:1.21.11-R0.1-SNAPSHOT") // https://mvnrepository.com/artifact/io.nats/jnats implementation("io.nats:jnats:2.25.2") api("io.nats:jnats:2.25.2") api("de.kentoj.scrow:kencommandapi-core:0.8") api("de.kentoj.scrow:kencommandapi-bukkit:0.8") } publishing { publications { create("ScrowBukkitApi") { groupId = project.group.toString() artifactId = project.name version = project.version.toString() from(components["java"]) } } }