diff --git a/README.md b/README.md index d1940b80c..7a61e0d74 100644 --- a/README.md +++ b/README.md @@ -88,13 +88,13 @@ maven("https://repo.panda-lang.org/releases") #### ➕ Add LiteCommands to dependencies ```kts -implementation("dev.rollczi:{artifact}:3.4.1") +implementation("dev.rollczi:{artifact}:3.4.2") ``` ```xml dev.rollczi {artifact} - 3.4.1 + 3.4.2 ``` > ⚠️ Replace `{artifact}` with [platform artifact](https://litedevelopers.github.io/LiteDevelopers-documentation/platforms.html) diff --git a/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts b/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts index 57b67d2fc..cebcc3aaa 100644 --- a/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts +++ b/buildSrc/src/main/kotlin/litecommands-publish.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "dev.rollczi" -version = "3.4.1" +version = "3.4.2" java { withSourcesJar() diff --git a/examples/bukkit-adventure-platform/build.gradle.kts b/examples/bukkit-adventure-platform/build.gradle.kts index 41eafcd7c..b30368a50 100644 --- a/examples/bukkit-adventure-platform/build.gradle.kts +++ b/examples/bukkit-adventure-platform/build.gradle.kts @@ -16,8 +16,8 @@ repositories { dependencies { compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT") - // implementation("dev.rollczi:litecommands-bukkit:3.4.1") // <-- uncomment in your project - // implementation("dev.rollczi:litecommands-adventure-platform:3.4.1") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-bukkit:3.4.2") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-adventure-platform:3.4.2") // <-- uncomment in your project implementation("net.kyori:adventure-platform-bukkit:4.3.0") implementation("net.kyori:adventure-text-minimessage:4.14.0") diff --git a/examples/bukkit-chatgpt/build.gradle.kts b/examples/bukkit-chatgpt/build.gradle.kts index 8cb9cc0ff..ae4ae95a5 100644 --- a/examples/bukkit-chatgpt/build.gradle.kts +++ b/examples/bukkit-chatgpt/build.gradle.kts @@ -16,8 +16,8 @@ repositories { dependencies { compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT") - // implementation("dev.rollczi:litecommands-bukkit:3.4.1") // <-- uncomment in your project - // implementation("dev.rollczi:litecommands-chatgpt:3.4.1") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-bukkit:3.4.2") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-chatgpt:3.4.2") // <-- uncomment in your project implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle implementation(project(":litecommands-chatgpt")) // don't use this line in your build.gradle } diff --git a/examples/bukkit/build.gradle.kts b/examples/bukkit/build.gradle.kts index e3f38e91b..3d987a038 100644 --- a/examples/bukkit/build.gradle.kts +++ b/examples/bukkit/build.gradle.kts @@ -16,7 +16,7 @@ repositories { dependencies { compileOnly("org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT") - // implementation("dev.rollczi:litecommands-bukkit:3.4.1") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-bukkit:3.4.2") // <-- uncomment in your project implementation(project(":litecommands-bukkit")) // don't use this line in your build.gradle } diff --git a/examples/fabric/build.gradle.kts b/examples/fabric/build.gradle.kts index 9799dda01..dfece4923 100644 --- a/examples/fabric/build.gradle.kts +++ b/examples/fabric/build.gradle.kts @@ -21,7 +21,7 @@ dependencies { modImplementation("net.fabricmc:fabric-loader:0.15.6") modImplementation("net.fabricmc.fabric-api:fabric-api:0.96.1+1.20.4") -// modImplementation("dev.rollczi:litecommands-fabric:3.4.1") // <-- uncomment in your project +// modImplementation("dev.rollczi:litecommands-fabric:3.4.2") // <-- uncomment in your project implementation(project(path = ":litecommands-fabric", configuration = "namedElements")) } diff --git a/examples/fabric/src/main/resources/fabric.mod.json b/examples/fabric/src/main/resources/fabric.mod.json index 8d48f62b5..2fc56e6ef 100644 --- a/examples/fabric/src/main/resources/fabric.mod.json +++ b/examples/fabric/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "litecommands_example", - "version": "3.4.1", + "version": "3.4.2", "name": "LiteCommands Fabric Example", "description": "Annotation based command framework for Fabric.", "authors": [ diff --git a/examples/minestom/build.gradle.kts b/examples/minestom/build.gradle.kts index d28559832..cb195b1dd 100644 --- a/examples/minestom/build.gradle.kts +++ b/examples/minestom/build.gradle.kts @@ -18,7 +18,7 @@ dependencies { implementation("dev.hollowcube:minestom-ce:5347c0b11f") implementation("net.kyori:adventure-text-minimessage:4.15.0") - // implementation("dev.rollczi:litecommands-minestom:3.4.1") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-minestom:3.4.2") // <-- uncomment in your project implementation(project(":litecommands-minestom")) // don't use this line in your build.gradle } diff --git a/examples/velocity/build.gradle.kts b/examples/velocity/build.gradle.kts index 7a365fa78..63e0cf4e7 100644 --- a/examples/velocity/build.gradle.kts +++ b/examples/velocity/build.gradle.kts @@ -19,7 +19,7 @@ dependencies { compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") - // implementation("dev.rollczi:litecommands-velocity:3.4.1") // <-- uncomment in your project + // implementation("dev.rollczi:litecommands-velocity:3.4.2") // <-- uncomment in your project implementation(project(":litecommands-velocity")) // don't use this line in your build.gradle } diff --git a/litecommands-fabric/src/main/resources/fabric.mod.json b/litecommands-fabric/src/main/resources/fabric.mod.json index 40216757d..23966ec70 100644 --- a/litecommands-fabric/src/main/resources/fabric.mod.json +++ b/litecommands-fabric/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "litecommands", - "version": "3.4.1", + "version": "3.4.2", "name": "LiteCommands", "description": "Annotation based command framework for Fabric.", "authors": [ diff --git a/litecommands-framework/src/dev/rollczi/litecommands/LiteCommandsBuilder.java b/litecommands-framework/src/dev/rollczi/litecommands/LiteCommandsBuilder.java index c0201caed..a1dd76e40 100644 --- a/litecommands-framework/src/dev/rollczi/litecommands/LiteCommandsBuilder.java +++ b/litecommands-framework/src/dev/rollczi/litecommands/LiteCommandsBuilder.java @@ -107,14 +107,14 @@ public interface LiteCommandsBuilder type, ArgumentKey key, SuggestionResult suggestion); @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "3.4.0") + @ApiStatus.ScheduledForRemoval(inVersion = "3.5.0") default B argumentSuggester(Class type, SuggestionResult suggestion) { return argumentSuggestion(type, suggestion); } @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "3.4.0") + @ApiStatus.ScheduledForRemoval(inVersion = "3.5.0") default B argumentSuggester(Class type, ArgumentKey key, SuggestionResult suggestion) { return argumentSuggestion(type, key, suggestion); diff --git a/litecommands-minestom/src/dev/rollczi/litecommands/minestom/LiteMinestomSettings.java b/litecommands-minestom/src/dev/rollczi/litecommands/minestom/LiteMinestomSettings.java index 4769cc6f2..6ea194f77 100644 --- a/litecommands-minestom/src/dev/rollczi/litecommands/minestom/LiteMinestomSettings.java +++ b/litecommands-minestom/src/dev/rollczi/litecommands/minestom/LiteMinestomSettings.java @@ -1,14 +1,7 @@ package dev.rollczi.litecommands.minestom; import dev.rollczi.litecommands.platform.PlatformSettings; -import org.jetbrains.annotations.ApiStatus; public class LiteMinestomSettings implements PlatformSettings { - @Deprecated - @ApiStatus.ScheduledForRemoval(inVersion = "3.4.0") - public LiteMinestomSettings nativePermission(boolean nativePermission) { - return this; - } - }