✔️ Prepare plugin 1.2 version.
This commit is contained in:
@@ -3,16 +3,18 @@ plugins {
|
||||
id("com.gradleup.shadow") version "9.2.2"
|
||||
id("xyz.jpenilla.run-paper") version "3.0.2"
|
||||
id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
|
||||
id("org.jlleitschuh.gradle.ktlint") version "14.0.1"
|
||||
}
|
||||
|
||||
group = "fr.azur"
|
||||
version = "1.1-SNAPSHOT"
|
||||
|
||||
val version: String by project
|
||||
val minecraftVersion: String by project
|
||||
val paperVersion: String by project
|
||||
val skinRestorerVersion: String by project
|
||||
val voiceChatVersion: String by project
|
||||
val voiceChatApiVersion: String by project
|
||||
val luckPermsVersion: String by project
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -34,11 +36,11 @@ repositories {
|
||||
dependencies {
|
||||
paperweight.paperDevBundle("$minecraftVersion-$paperVersion")
|
||||
|
||||
|
||||
implementation("net.skinsrestorer:skinsrestorer-api:$skinRestorerVersion")
|
||||
implementation("de.maxhenkel.voicechat:voicechat-api:$voiceChatApiVersion")
|
||||
compileOnly("net.skinsrestorer:skinsrestorer-api:$skinRestorerVersion")
|
||||
compileOnly("de.maxhenkel.voicechat:voicechat-api:$voiceChatApiVersion")
|
||||
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
implementation(kotlin("reflect"))
|
||||
}
|
||||
|
||||
val targetJavaVersion = 21
|
||||
@@ -49,8 +51,9 @@ kotlin {
|
||||
tasks {
|
||||
runServer {
|
||||
downloadPlugins {
|
||||
modrinth("plasmo-voice", "bukkit-$voiceChatVersion")
|
||||
modrinth("skinsrestorer", skinRestorerVersion)
|
||||
modrinth("luckperms", luckPermsVersion)
|
||||
modrinth("simple-voice-chat", voiceChatVersion)
|
||||
}
|
||||
minecraftVersion(minecraftVersion)
|
||||
}
|
||||
@@ -69,8 +72,5 @@ tasks {
|
||||
archiveBaseName.set("tcoww")
|
||||
|
||||
minimize()
|
||||
|
||||
// exclude("META-INF/*.kotlin_module")
|
||||
// exclude("META-INF/*.version")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user