Plex/proxy/build.gradle.kts

53 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2022-05-17 03:52:52 +00:00
plugins {
2023-12-02 00:11:45 +00:00
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
id("net.kyori.blossom") version "2.1.0"
2022-05-17 03:52:52 +00:00
}
2022-05-05 06:38:23 +00:00
group = rootProject.group
version = rootProject.version
2022-05-05 20:28:05 +00:00
description = "Plex-Velocity"
2022-05-05 06:38:23 +00:00
repositories {
2023-03-03 05:06:37 +00:00
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
2022-05-05 06:38:23 +00:00
}
tasks.getByName<Jar>("jar") {
2022-05-05 20:28:05 +00:00
archiveBaseName.set("Plex-Velocity")
2022-05-05 06:38:23 +00:00
}
tasks {
jar {
finalizedBy(rootProject.tasks["copyJars"])
}
shadowJar {
enabled = false
}
}
2023-12-02 00:11:45 +00:00
sourceSets {
main {
blossom {
javaSources {
property("version", project.version.toString())
}
}
}
2022-05-17 03:52:52 +00:00
}
2022-05-05 06:38:23 +00:00
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")
2023-12-02 00:11:45 +00:00
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")
2022-05-05 06:38:23 +00:00
}