Kotlinify + publish to repo.fvdh.dev
This commit is contained in:
parent
22d6af916d
commit
75c2fda749
19 changed files with 386 additions and 282 deletions
38
Bukkit/build.gradle.kts
Normal file
38
Bukkit/build.gradle.kts
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||
|
||||
plugins {
|
||||
id("net.minecrell.plugin-yml.bukkit") version "0.5.0"
|
||||
}
|
||||
|
||||
group = rootProject.group
|
||||
val rootDependencyDir = "${rootProject.group}.dependencies"
|
||||
val dependencyDir = "${group}.bukkit.dependencies"
|
||||
version = rootProject.version
|
||||
base {
|
||||
archivesName.set("${rootProject.name}-Bukkit")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("cloud.commandframework:cloud-paper:${VersionConstants.cloudVersion}")
|
||||
implementation("net.kyori:adventure-api:${VersionConstants.adventureVersion}")
|
||||
implementation("net.kyori:adventure-platform-bukkit:${VersionConstants.adventurePlatformVersion}")
|
||||
implementation("net.kyori:adventure-text-minimessage:${VersionConstants.adventureMinimessageVersion}") {
|
||||
exclude("net.kyori", "adventure-api")
|
||||
}
|
||||
implementation("org.bstats:bstats-bukkit:${VersionConstants.bstatsVersion}")
|
||||
implementation(project(":Common"))
|
||||
compileOnly("com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
tasks.withType<ShadowJar> {
|
||||
relocate("org.bstats", "${dependencyDir}.bstats")
|
||||
}
|
||||
|
||||
bukkit {
|
||||
main = "net.frankheijden.serverutils.bukkit.ServerUtils"
|
||||
description = "A server utility"
|
||||
apiVersion = "1.13"
|
||||
website = "https://github.com/FrankHeijden/ServerUtils"
|
||||
softDepend = listOf("ServerUtilsUpdater")
|
||||
authors = listOf("FrankHeijden")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue