23 lines
467 B
Kotlin
23 lines
467 B
Kotlin
plugins {
|
|
id("com.gradleup.shadow")
|
|
}
|
|
|
|
dependencies {
|
|
val velocityApiVersion: String by project
|
|
|
|
implementation(project(":nickcore-common"))
|
|
|
|
compileOnly("com.velocitypowered:velocity-api:$velocityApiVersion")
|
|
annotationProcessor("com.velocitypowered:velocity-api:$velocityApiVersion")
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
archiveClassifier.set("")
|
|
archiveBaseName.set("NickCore-Velocity")
|
|
minimize()
|
|
}
|
|
|
|
tasks.build {
|
|
dependsOn(tasks.shadowJar)
|
|
}
|