mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-28 19:14:15 +00:00
45 lines
No EOL
945 B
Text
45 lines
No EOL
945 B
Text
plugins {
|
|
id("net.kyori.blossom") version "1.3.1"
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
blossom {
|
|
replaceToken("@version@", rootProject.version)
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("maven") {
|
|
from(components["java"])
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
compileOnly("org.json:json:20230227")
|
|
compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
|
|
} |