2022-05-16 22:52:52 -05:00
|
|
|
plugins {
|
2022-11-27 22:14:27 -06:00
|
|
|
id("net.kyori.blossom") version "1.3.1"
|
2022-05-16 22:52:52 -05:00
|
|
|
}
|
|
|
|
|
2022-05-04 23:38:23 -07:00
|
|
|
group = rootProject.group
|
|
|
|
version = rootProject.version
|
2022-05-05 15:28:05 -05:00
|
|
|
description = "Plex-Velocity"
|
2022-05-04 23:38:23 -07:00
|
|
|
|
|
|
|
repositories {
|
2023-03-02 23:06:37 -06:00
|
|
|
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
|
2022-05-04 23:38:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.getByName<Jar>("jar") {
|
2022-05-05 15:28:05 -05:00
|
|
|
archiveBaseName.set("Plex-Velocity")
|
2022-05-04 23:38:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
jar {
|
|
|
|
finalizedBy(rootProject.tasks["copyJars"])
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-16 22:52:52 -05:00
|
|
|
blossom {
|
|
|
|
replaceToken("@version@", rootProject.version)
|
|
|
|
}
|
|
|
|
|
2022-05-04 23:38:23 -07:00
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-06-08 15:25:25 -05:00
|
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
2023-07-22 20:00:25 -05:00
|
|
|
compileOnly("org.json:json:20230618")
|
2023-04-29 15:06:46 -05:00
|
|
|
compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
|
|
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
|
2022-05-04 23:38:23 -07:00
|
|
|
}
|