Skip to content

Commit bfdaefb

Browse files
authored
fix: update Command API version and adjust related properties in build configuration (#83)
2 parents 89674d8 + 095aa51 commit bfdaefb

File tree

6 files changed

+12
-57
lines changed

6 files changed

+12
-57
lines changed

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ javaVersion=21
99
mcVersion=1.21.4
1010

1111
group=dev.slne.surf
12-
version=1.21.4-2.11.0-SNAPSHOT
12+
version=1.21.4-2.12.0-SNAPSHOT
1313
relocationPrefix=dev.slne.surf.surfapi.libs

gradle/libs.versions.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ kotlinx-serialization = "1.8.0"
1111
packetevents = "2.7.0"
1212

1313
# Command API
14-
commandapi = "9.7.0"
15-
commandapi-snapshot = "9.6.2-SNAPSHOT"
14+
commandapi = "10.0.0"
1615

1716
# Scoreboard Library
1817
scoreboard-library = "2.2.2"
@@ -86,8 +85,8 @@ packetevents-netty-common = { module = "com.github.retrooper:packetevents-netty-
8685
commandapi-bukkit = { module = "dev.jorel:commandapi-bukkit-plugin", version.ref = "commandapi" }
8786
commandapi-bukkit-kotlin = { module = "dev.jorel:commandapi-bukkit-kotlin", version.ref = "commandapi" }
8887
commandapi-core = { module = "dev.jorel:commandapi-core", version.ref = "commandapi" }
89-
commandapi-velocity = { module = "dev.jorel:commandapi-velocity-core", version.ref = "commandapi-snapshot" }
90-
commandapi-velocity-kotlin = { module = "dev.jorel:commandapi-velocity-kotlin", version.ref = "commandapi-snapshot" }
88+
commandapi-velocity = { module = "dev.jorel:commandapi-velocity-core", version.ref = "commandapi" }
89+
commandapi-velocity-kotlin = { module = "dev.jorel:commandapi-velocity-kotlin", version.ref = "commandapi" }
9190

9291
# Scoreboard Library
9392
scoreboard-library-api = { module = "net.megavex:scoreboard-library-api", version.ref = "scoreboard-library" }

surf-api-bukkit/surf-api-bukkit-api/api/surf-api-bukkit-api.api

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ public final class dev/jorel/commandapi/kotlindsl/CommandAPICommandDSLKt {
540540
public static final fun argument (Ldev/jorel/commandapi/CommandAPICommand;Ldev/jorel/commandapi/arguments/Argument;Lkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
541541
public static synthetic fun argument$default (Ldev/jorel/commandapi/CommandAPICommand;Ldev/jorel/commandapi/arguments/Argument;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
542542
public static final fun arguments (Ldev/jorel/commandapi/CommandAPICommand;[Ldev/jorel/commandapi/arguments/Argument;)Ldev/jorel/commandapi/CommandAPICommand;
543+
public static final fun asyncOfflinePlayerArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
544+
public static synthetic fun asyncOfflinePlayerArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
543545
public static final fun axisArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
544546
public static synthetic fun axisArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
545547
public static final fun biomeArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
@@ -557,11 +559,9 @@ public final class dev/jorel/commandapi/kotlindsl/CommandAPICommandDSLKt {
557559
public static final fun chatComponentArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
558560
public static synthetic fun chatComponentArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
559561
public static final fun commandAPICommand (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
560-
public static final fun commandAPICommand (Ljava/lang/String;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;)V
561562
public static final fun commandAPICommand (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
562563
public static final fun commandAPICommand (Ljava/lang/String;Lorg/bukkit/plugin/java/JavaPlugin;Lkotlin/jvm/functions/Function1;)V
563564
public static synthetic fun commandAPICommand$default (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
564-
public static synthetic fun commandAPICommand$default (Ljava/lang/String;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
565565
public static synthetic fun commandAPICommand$default (Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
566566
public static synthetic fun commandAPICommand$default (Ljava/lang/String;Lorg/bukkit/plugin/java/JavaPlugin;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
567567
public static final fun commandArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
@@ -610,12 +610,8 @@ public final class dev/jorel/commandapi/kotlindsl/CommandAPICommandDSLKt {
610610
public static synthetic fun lootTableArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
611611
public static final fun mathOperationArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
612612
public static synthetic fun mathOperationArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
613-
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
614613
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
615-
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/CommandAPICommand;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
616-
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
617614
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
618-
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/CommandAPICommand;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
619615
public static final fun namespacedKeyArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
620616
public static synthetic fun namespacedKeyArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
621617
public static final fun nbtCompoundArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
@@ -637,8 +633,6 @@ public final class dev/jorel/commandapi/kotlindsl/CommandAPICommandDSLKt {
637633
public static synthetic fun potionEffectArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
638634
public static final fun recipeArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
639635
public static synthetic fun recipeArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
640-
public static final fun requirement (Ldev/jorel/commandapi/CommandAPICommand;Ldev/jorel/commandapi/arguments/Argument;Ljava/util/function/Predicate;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
641-
public static synthetic fun requirement$default (Ldev/jorel/commandapi/CommandAPICommand;Ldev/jorel/commandapi/arguments/Argument;Ljava/util/function/Predicate;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
642636
public static final fun rotationArgument (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
643637
public static synthetic fun rotationArgument$default (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandAPICommand;
644638
public static final fun scoreHolderArgumentMultiple (Ldev/jorel/commandapi/CommandAPICommand;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandAPICommand;
@@ -694,6 +688,10 @@ public final class dev/jorel/commandapi/kotlindsl/CommandTreeDSLKt {
694688
public static final fun argument (Ldev/jorel/commandapi/arguments/Argument;Ldev/jorel/commandapi/arguments/Argument;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
695689
public static synthetic fun argument$default (Ldev/jorel/commandapi/CommandTree;Ldev/jorel/commandapi/arguments/Argument;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
696690
public static synthetic fun argument$default (Ldev/jorel/commandapi/arguments/Argument;Ldev/jorel/commandapi/arguments/Argument;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
691+
public static final fun asyncOfflinePlayerArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
692+
public static final fun asyncOfflinePlayerArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
693+
public static synthetic fun asyncOfflinePlayerArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
694+
public static synthetic fun asyncOfflinePlayerArgument$default (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
697695
public static final fun axisArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
698696
public static final fun axisArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
699697
public static synthetic fun axisArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
@@ -731,11 +729,9 @@ public final class dev/jorel/commandapi/kotlindsl/CommandTreeDSLKt {
731729
public static synthetic fun commandArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
732730
public static synthetic fun commandArgument$default (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
733731
public static final fun commandTree (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
734-
public static final fun commandTree (Ljava/lang/String;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;)V
735732
public static final fun commandTree (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
736733
public static final fun commandTree (Ljava/lang/String;Lorg/bukkit/plugin/java/JavaPlugin;Lkotlin/jvm/functions/Function1;)V
737734
public static synthetic fun commandTree$default (Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
738-
public static synthetic fun commandTree$default (Ljava/lang/String;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
739735
public static synthetic fun commandTree$default (Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
740736
public static synthetic fun commandTree$default (Ljava/lang/String;Lorg/bukkit/plugin/java/JavaPlugin;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
741737
public static final fun doubleArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;DDZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
@@ -826,18 +822,10 @@ public final class dev/jorel/commandapi/kotlindsl/CommandTreeDSLKt {
826822
public static final fun mathOperationArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
827823
public static synthetic fun mathOperationArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
828824
public static synthetic fun mathOperationArgument$default (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
829-
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
830825
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
831-
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/CommandTree;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
832-
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
833826
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
834-
public static final fun multiLiteralArgument (Ldev/jorel/commandapi/arguments/Argument;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
835-
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
836827
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
837-
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/CommandTree;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
838-
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;Ljava/util/List;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
839828
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
840-
public static synthetic fun multiLiteralArgument$default (Ldev/jorel/commandapi/arguments/Argument;[Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
841829
public static final fun namespacedKeyArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
842830
public static final fun namespacedKeyArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
843831
public static synthetic fun namespacedKeyArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
@@ -884,10 +872,6 @@ public final class dev/jorel/commandapi/kotlindsl/CommandTreeDSLKt {
884872
public static final fun recipeArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
885873
public static synthetic fun recipeArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
886874
public static synthetic fun recipeArgument$default (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
887-
public static final fun requirement (Ldev/jorel/commandapi/CommandTree;Ldev/jorel/commandapi/arguments/Argument;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
888-
public static final fun requirement (Ldev/jorel/commandapi/arguments/Argument;Ldev/jorel/commandapi/arguments/Argument;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
889-
public static synthetic fun requirement$default (Ldev/jorel/commandapi/CommandTree;Ldev/jorel/commandapi/arguments/Argument;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;
890-
public static synthetic fun requirement$default (Ldev/jorel/commandapi/arguments/Argument;Ldev/jorel/commandapi/arguments/Argument;Ljava/util/function/Predicate;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/arguments/Argument;
891875
public static final fun rotationArgument (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/CommandTree;
892876
public static final fun rotationArgument (Ldev/jorel/commandapi/arguments/Argument;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;)Ldev/jorel/commandapi/arguments/Argument;
893877
public static synthetic fun rotationArgument$default (Ldev/jorel/commandapi/CommandTree;Ljava/lang/String;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ldev/jorel/commandapi/CommandTree;

0 commit comments

Comments
 (0)