26 lines
495 B
Kotlin
26 lines
495 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.jar {
|
|
enabled = false
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
archiveFileName.set("NickCore-Velocity-${project.version}.jar")
|
|
minimize()
|
|
}
|
|
|
|
tasks.build {
|
|
dependsOn(tasks.shadowJar)
|
|
}
|