✔️ Prepare plugin 1.2 version.

This commit is contained in:
2025-11-30 17:22:48 +01:00
parent f0d1e27085
commit fa5a54c8b9
44 changed files with 2031 additions and 1525 deletions

View File

@@ -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")
}
}
}