Commit graph

796 commits

Author SHA1 Message Date
Jason Penilla
708d11854e Fix import order 2021-12-02 02:04:43 -08:00
Jason Penilla
dbf5af7202 Update gradle wrapper 2021-12-02 02:04:43 -08:00
alexander.soderberg
29abe82215 Chore: Improve the test setup for cloud-core and clean up some test cases. 2021-12-02 02:04:43 -08:00
Jason Penilla
dd4f67ad2e undo intellij auto format 2021-12-02 02:04:43 -08:00
Jason Penilla
a22d9e0100 Remove redundant Function 2021-12-02 02:04:43 -08:00
Jason Penilla
c473e9674a Fixup duplicated field 2021-12-02 02:04:43 -08:00
Jason Penilla
66c803852c Update CraftBukkit reflection for 1.18 2021-12-02 02:04:43 -08:00
Jason Penilla
9dc4e87fa8 Use typesafe dependency accessors 2021-12-02 02:04:43 -08:00
Jason
3f0ef5715c cloud-kotlin-coroutines (#318)
* Builder coroutine support

* Move coroutines to version catalog

* Add kdocs

* Add note about simple coordinator

* Update changelog
2021-12-02 02:04:43 -08:00
Jason Penilla
6011bd1d63 Put kotlin stdlib in api configuration
Kotlin gradle plugin really should apply the bom by default instead of the stdlib...
2021-12-02 02:04:43 -08:00
Jason
d2a47ad941 Split kotlin modules (#316) 2021-12-02 02:04:43 -08:00
Jason Penilla
762de3dfba Update changelog 2021-12-02 02:04:43 -08:00
Pasqual Koschmieder
526ef2af61 Allow parser parameter annotations for flags as well (#315) 2021-12-02 02:04:43 -08:00
Jason Penilla
b111b8996c Set minimum toolchain to 17 2021-12-02 02:04:43 -08:00
Jason Penilla
8c7a81ea10 Enable build cache 2021-12-02 02:04:43 -08:00
Jason Penilla
f886222650 Dependency updates 2021-12-02 02:04:43 -08:00
Jason Penilla
0454f5f0bb Update shadow to 7.1.0 2021-12-02 02:04:43 -08:00
Jason Penilla
20b85baf14 Update gradle wrapper to 7.3 2021-12-02 02:04:43 -08:00
Jason Penilla
2bf8d0f709 fabric: Update loom 2021-12-02 02:04:43 -08:00
Jason Penilla
8df3f28cb7 KotlinAnnotatedMethods: Hold onto filtered params 2021-12-02 02:04:43 -08:00
Jason Penilla
39a2738630 Fix indent 2021-12-02 02:04:43 -08:00
Jason Penilla
8ea7d59736 fix: deep nesting on permissions causing stack overflow errors 2021-12-02 02:04:43 -08:00
Jason Penilla
4eb3df1f57 Fix error message for unknown parameters in KotlinAnnotatedMethods 2021-12-02 02:04:43 -08:00
solo
8711d19703 Merge pull request #307 from solonovamax/fix/commands-completing-before-execution
Fix cloud swallowing exceptions in `suspend` methods.
2021-12-02 02:04:43 -08:00
Alexander Söderberg
ad80933a20 Feature: Allow argument names to be inferred from parameter names 2021-12-02 02:04:43 -08:00
Jason Penilla
83163c2a77 Replace more usages of TypeToken#toString 2021-12-02 02:04:43 -08:00
Jason
3df3560d91 annotations: Also apply builder modifiers from class (#303) 2021-12-02 02:04:43 -08:00
Jason Penilla
a92ff9d39a Make CommandExecutionHandler#executeFuture return CompletableFuture<Void> instead of CompletableFuture<Object>
The value of the completed future is never used, void makes this more obvious
2021-12-02 02:04:43 -08:00
Jason Penilla
9e39b0ca8e Don't catch NPE in AnnotatedElementAccessor
NPE is thrown when the annotation class param is null
2021-12-02 02:04:43 -08:00
Jason Penilla
c9725ed763 Run actions with JDK 17, test with 17 instead of 16 2021-12-02 02:04:43 -08:00
Jason Penilla
898ce5651c Update checkstyle 2021-12-02 02:04:43 -08:00
Jason Penilla
1b52e8c3bd Update errorprone 2021-12-02 02:04:43 -08:00
Jason Penilla
8aa81b445e Rename CommandFlag#getCommandPermission 2021-12-02 02:04:43 -08:00
Jason Penilla
9c804addbd bukkit: Use name from root argument for consistency with rest of BukkitCommand
shouldn't actually make any difference
2021-12-02 02:04:43 -08:00
Jason Penilla
8399bce8d2 bukkit: Use command name instead of label to get node 2021-12-02 02:04:43 -08:00
Frank van der Heijden
7a5efbd6da Use AnnotationAccessor 2021-12-02 02:04:43 -08:00
Frank van der Heijden
730e78e212 Make CommandMethod applicable to class 2021-12-02 02:04:43 -08:00
Jason Penilla
6cd1105642 Update changelog 2021-12-02 02:04:43 -08:00
i0xHeX
b227032032 core: Fix single static argument not formatting properly (#294) 2021-12-02 02:04:43 -08:00
Jason
0cf8030f72 bukkit: Make KeyedWorldArgument fallback to normal WorldParser when World does not implement Keyed (#298) 2021-12-02 02:04:43 -08:00
Jason Penilla
fa118f8305 build: Update Dokka to 1.5.30 2021-12-02 02:04:43 -08:00
Jason Penilla
aa10c910c0 build: Fix dependency scopes in Kotlin module 2021-12-02 02:04:43 -08:00
Jason
c737258dd7 kotlin: Update to 1.5.30 (#299) 2021-12-02 02:04:43 -08:00
Jake Potrebic
9f0ff4e504 core: fix And/OrPermission losing conditional tree (#296) 2021-12-02 02:04:43 -08:00
Jason Penilla
5648128217 kotlin: Switch from ktfmt to ktlint (fixes build) 2021-12-02 02:04:43 -08:00
Jason Penilla
f0a4add565 build: Update Gradle wrapper to 7.2 2021-12-02 02:04:43 -08:00
Jason Penilla
f43386d29b Update Adventure 2021-12-02 02:04:43 -08:00
Jason Penilla
cf05494fae Fix annotations 2021-12-02 02:04:43 -08:00
Jason Penilla
00bb3f79cd Update changelog 2021-12-02 02:04:43 -08:00
Jason Penilla
e5acfb2414 bukkit: Fix usage string and permission checking for Bukkit help menu 2021-12-02 02:04:43 -08:00