Plex/proxy/build.gradle.kts

45 lines
945 B
Plaintext
Raw Normal View History

2022-05-17 03:52:52 +00:00
plugins {
2022-11-28 04:14:27 +00:00
id("net.kyori.blossom") version "1.3.1"
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
}
}
2022-05-17 03:52:52 +00:00
blossom {
replaceToken("@version@", rootProject.version)
}
2022-05-05 06:38:23 +00:00
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
dependencies {
2023-03-03 05:06:37 +00:00
compileOnly("org.projectlombok:lombok:1.18.26")
annotationProcessor("org.projectlombok:lombok:1.18.26")
compileOnly("org.json:json:20230227")
2022-05-05 06:38:23 +00:00
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
}