mirror of
https://github.com/plexusorg/Plex.git
synced 2024-10-31 17:17:12 +00:00
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
plugins {
|
|
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
|
|
id("net.kyori.blossom") version "2.1.0"
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
blossom {
|
|
javaSources {
|
|
property("version", project.version.toString())
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
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")
|
|
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")
|
|
} |