26 lines
637 B
Plaintext
26 lines
637 B
Plaintext
@file:Suppress("VulnerableLibrariesLocal")
|
|
|
|
evaluationDependsOn(":ball-common")
|
|
|
|
dependencies {
|
|
api(project(":ball-common")) { isTransitive = false }
|
|
compileOnly("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT")
|
|
compileOnly("cn.hamster3.mc.plugin:core-bukkit:+")
|
|
|
|
compileOnly("me.clip:placeholderapi:2.11.5") { isTransitive = false }
|
|
}
|
|
|
|
tasks {
|
|
processResources {
|
|
filesMatching("plugin.yml") {
|
|
expand(project.properties)
|
|
}
|
|
}
|
|
withType<Jar> {
|
|
archiveBaseName = "HamsterBall-Bukkit"
|
|
}
|
|
shadowJar {
|
|
destinationDirectory = rootProject.layout.buildDirectory
|
|
}
|
|
}
|