mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 05:26:55 +00:00
54 lines
1.1 KiB
Kotlin
54 lines
1.1 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.jetbrains.gradle.plugin.idea-ext")
|
|
id("net.kyori.blossom")
|
|
id("com.gradleup.shadow")
|
|
}
|
|
|
|
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 {
|
|
build {
|
|
dependsOn(shadowJar)
|
|
}
|
|
|
|
jar {
|
|
enabled = false
|
|
}
|
|
|
|
shadowJar {
|
|
archiveBaseName.set("Plex-Velocity")
|
|
archiveClassifier.set("")
|
|
finalizedBy(rootProject.tasks["copyJars"])
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
blossom {
|
|
javaSources {
|
|
property("version", project.version.toString())
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":api"))
|
|
compileOnly("org.projectlombok:lombok:1.18.46")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.46")
|
|
compileOnly("org.json:json:20251224")
|
|
compileOnly("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
|
|
annotationProcessor("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
|
|
}
|