Plex/proxy/build.gradle.kts
2024-06-14 20:29:08 -05:00

47 lines
No EOL
989 B
Text

group = rootProject.group
version = rootProject.version
description = "Plex-Velocity"
repositories {
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
}
tasks.getByName<Jar>("jar") {
archiveBaseName.set("Plex-Velocity")
}
tasks {
jar {
finalizedBy(rootProject.tasks["copyJars"])
}
shadowJar {
enabled = false
}
}
sourceSets {
main {
blossom {
javaSources {
property("version", project.version.toString())
}
}
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.32")
annotationProcessor("org.projectlombok:lombok:1.18.32")
compileOnly("org.json:json:20240303")
compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
}