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 {
|
|
|
|
maven { url = uri("https://papermc.io/repo/repository/maven-public/") }
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("maven") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.24")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
|
|
|
compileOnly("org.json:json:20220320")
|
|
|
|
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
|
|
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
|
|
|
|
implementation(project(":api"))
|
|
|
|
}
|