Commit graph

22 commits

Author SHA1 Message Date
Jason Penilla
39a2738630 Fix indent 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
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
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
Jason Penilla
5648128217 kotlin: Switch from ktfmt to ktlint (fixes build) 2021-12-02 02:04:43 -08:00
Alexander Söderberg
ed3ae6f08b License. 2021-12-02 02:04:43 -08:00
Alexander Söderberg
e67d0d9310 I hate the fact that we started using ktfmt.
Whose decision was that anyway..?
2021-12-02 02:04:43 -08:00
Alexander Söderberg
5934c2fd3b Add changelog 2021-12-02 02:04:43 -08:00
Alexander Söderberg
7bb5e63dc7 Add support for suspending functions
This also changes CommandExecutionHandler to return futures instead. The old method is still supported, and the new future-returning method will delegate to the old non-returning method.
2021-12-02 02:04:43 -08:00
Jason Penilla
42f63b2749 build/kotlin-extensions: Do not expose kotlin-stdlib dependency to API consumers 2021-07-05 02:56:06 -07:00
jmp
1fc08b80a1 Remove Dokka linking that didn't work anyways 2021-07-05 02:56:06 -07:00
dependabot[bot]
e0a1ec9c9f Bump jvm from 1.4.30 to 1.4.31
Bumps jvm from 1.4.30 to 1.4.31.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-04 14:34:08 +01:00
dependabot[bot]
96c6b13c63 Bump jvm from 1.4.21-2 to 1.4.30
Bumps jvm from 1.4.21-2 to 1.4.30.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-06 16:51:44 +01:00
Alexander Söderberg
1600ef16c3
:clock: 2021 let's go!!! 2021-01-16 09:58:46 +01:00
Zach Levis
b38c725dc5 core: Use the ArgumentDescription interface for descriptions
This allows minecraft-extras to provide an implementation that
uses Adventure chat components to represent the description.
2021-01-16 08:54:07 +01:00
jmp
39b94a3df0 Add helper method for flags to MutableCommandBuilder 2021-01-16 08:54:07 +01:00
jmp
2c188eb130 Convert build scripts to Kotlin
Also added some new tasks to only build/install to maven local certain platforms
`buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
2021-01-16 08:54:07 +01:00
dependabot[bot]
939b6d26d7 ⬆️ Bump org.jetbrains.kotlin.jvm from 1.4.21 to 1.4.21-2
Bumps org.jetbrains.kotlin.jvm from 1.4.21 to 1.4.21-2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-01 00:38:44 +01:00
Jason
e93d285483 Kotlin command builder DSL (#165) 2020-12-18 19:49:57 +01:00