Plex/proxy/build.gradle.kts
2023-12-01 18:11:45 -06:00

53 lines
1.1 KiB
Plaintext

plugins {
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
id("net.kyori.blossom") version "2.1.0"
}
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.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
compileOnly("org.json:json:20231013")
implementation("net.kyori:adventure-text-minimessage:4.14.0")
compileOnly("com.velocitypowered:velocity-api:4.0.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:4.0.0-SNAPSHOT")
}