scrow-monorepo/core-velocity-api/build.gradle.kts
2026-06-27 16:46:30 +02:00

38 lines
993 B
Kotlin

plugins {
id("java")
id("java-library")
id("maven-publish")
}
group = "de.kentoj.scrow"
repositories {
mavenCentral()
maven {
name = "papermc"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
}
dependencies {
api(project(":core-lib"))
// https://docs.papermc.io/velocity/dev/creating-your-first-plugin/
api("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
// http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-core
api("de.kentoj.scrow:kencommandapi-core:0.8")
// http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-velocity
api("de.kentoj.scrow:kencommandapi-velocity:0.8")
}
publishing {
publications {
create<MavenPublication>("ScrowVelocityApi") {
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
from(components["java"])
}
}
}