This commit is contained in:
NotMyFault 2021-08-17 16:57:35 +02:00
parent 0ffab8ee69
commit f6676cf6a3
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
4 changed files with 14 additions and 7 deletions

View File

@ -45,8 +45,8 @@ jchronic = "0.2.4a"
lz4-java = "1.8.0" lz4-java = "1.8.0"
lz4-stream = "1.0.0" lz4-stream = "1.0.0"
## Internal ## Internal
minimessage-text = "4.1.0-SNAPSHOT" adventure-text-minimessage = "4.1.0-SNAPSHOT"
adapter-text = "3.0.6" text-adapter = "3.0.6"
text = "3.0.4" text = "3.0.4"
piston = "0.5.7" piston = "0.5.7"
@ -54,6 +54,9 @@ piston = "0.5.7"
mockito = "3.11.2" mockito = "3.11.2"
checker-qual = "3.16.0" checker-qual = "3.16.0"
# Gradle plugins
pluginyml = "0.4.0"
[libraries] [libraries]
# Minecraft expectations # Minecraft expectations
fastutil = { group = "it.unimi.dsi", name = "fastutil", version.ref = "fastutil" } fastutil = { group = "it.unimi.dsi", name = "fastutil", version.ref = "fastutil" }
@ -109,8 +112,8 @@ lz4JavaStream = { group = "net.jpountz", name = "lz4-java-stream", version.ref =
# Internal # Internal
## Text ## Text
adventureTextAdapter = { group = "net.kyori", name = "text-adapter-bukkit", version.ref = "adapter-text" } adventureTextAdapterBukkit = { group = "net.kyori", name = "text-adapter-bukkit", version.ref = "text-adapter" }
adventureMiniMessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "minimessage-text" } adventureTextMiniMessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventure-text-minimessage" }
adventureTextApi = { group = "net.kyori", name = "text-api", version.ref = "text" } adventureTextApi = { group = "net.kyori", name = "text-api", version.ref = "text" }
adventureTextSerializerGson = { group = "net.kyori", name = "text-serializer-gson", version.ref = "text" } adventureTextSerializerGson = { group = "net.kyori", name = "text-serializer-gson", version.ref = "text" }
adventureTextSerializerLegacy = { group = "net.kyori", name = "text-serializer-legacy", version.ref = "text" } adventureTextSerializerLegacy = { group = "net.kyori", name = "text-serializer-legacy", version.ref = "text" }
@ -126,3 +129,6 @@ pistonRuntime = { group = "org.enginehub.piston.core-ap", name = "runtime", vers
mockito = { group = "org.mockito", name = "mockito-core", version.ref = "mockito" } mockito = { group = "org.mockito", name = "mockito-core", version.ref = "mockito" }
checkerqual = { group = "org.checkerframework", name = "checker-qual", version.ref = "checker-qual" } checkerqual = { group = "org.checkerframework", name = "checker-qual", version.ref = "checker-qual" }
log4jCore = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j" } log4jCore = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j" }
[plugins]
pluginyml = { id = "net.minecrell.plugin-yml.bukkit", version.ref = "pluginyml" }

View File

@ -2,7 +2,8 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins { plugins {
`java-library` `java-library`
id("net.minecrell.plugin-yml.bukkit") version "0.4.0"
alias(libs.plugins.pluginyml)
} }
project.description = "CLI" project.description = "CLI"

View File

@ -51,7 +51,7 @@ dependencies {
implementation(libs.rhino) implementation(libs.rhino)
compileOnly(libs.adventure) compileOnly(libs.adventure)
compileOnlyApi(libs.adventureNbt) compileOnlyApi(libs.adventureNbt)
compileOnlyApi(libs.adventureMiniMessage) compileOnlyApi(libs.adventureTextMiniMessage)
implementation(libs.zstd) implementation(libs.zstd)
api(libs.paster) api(libs.paster)
compileOnly(libs.lz4Java) { isTransitive = false } compileOnly(libs.lz4Java) { isTransitive = false }

View File

@ -9,5 +9,5 @@ repositories {
} }
dependencies { dependencies {
"shade"(libs.adventureTextAdapter) "shade"(libs.adventureTextAdapterBukkit)
} }