Commit graph

33 commits

Author SHA1 Message Date
zml
63f2c9299f fabric: Support 1.19 (#356)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2022-06-18 22:52:58 -07:00
Alexander Söderberg
4360847852 chore(core): add apiguardian @API annotations (#368) 2022-06-18 22:52:58 -07:00
Alexander Söderberg
f1582fb64e feat(annotations): add command containers (#364)
This is the first part of the introduction of annotation processing to cloud. A new `@CommandContainer` annotation has been introduced, which can be placed on classes to have the annotation parser automatically construct & parse the classes when `AnnotationParser.parseContainers()` is invoked.

A future PR will introduce another processor that will scan for `@CommandMethod` annotations and verify the integrity of the annotated methods (visibility, argument annotations, etc.).
2022-06-18 22:52:58 -07:00
Alexander Söderberg
09044b9c1b feat(core): add unit tests for the standard parsers (#362)
* feat(core): add BooleanParser unit tests

* feat(core): add ByteParser unit tests

* feat(core): add IntegerParser, LongParser & ShortParser unit tests

* feat(core): add EnumParser unit tests

* feat(core): add CharacterParser unit tests

* feat(core): add DoubleParser & FloatParser unit tests

* feat(core): add UUIDParser & StringArrayParser unit tests
2022-06-18 22:52:58 -07:00
Alexander Söderberg
46a3f7129f build: add revapi to core api modules (#361)
this way we can detect API/ABI breaks between versions. it'll compare to the previous tag.
2022-06-18 22:52:58 -07:00
Jason Penilla
5849f471a7 Remove no longer needed licenser references 2022-06-18 22:52:58 -07:00
Jason Penilla
1e2b7f8b8a Update gradle wrapper & add .gitattributes 2022-06-18 22:52:58 -07:00
Alexander Söderberg
d681ba5840 feat: annotation string processors (#353)
adds a system for processing strings found in annotations before they're used by AnnotationParser

implements #347

Also, because we're using "-Werror", the code won't actually build (and thus tests won't work) using JDK18. To remedy this, a bunch of @SuppressWarnings("serial")s has been added to the exceptions. We don't serialize exceptions, and they're in fact non-serializable because of their members, so this is the appropriate solution (well, the better solution would be to make them serializable, but that's outside the scope of this PR).
2022-06-18 22:52:58 -07:00
zml
ed7b7569a8 build: switch to spotless (#355)
* build: switch to spotless

add in some other basic formatting steps that allow for easy
auto-correction

* build: lint text files as well

* chore: remove license headers from package-info files

spotless can't verify these
2022-06-18 22:52:58 -07:00
Aldin
cc7793925d Register missing regex failure caption (#351) 2022-06-18 22:52:58 -07:00
Jason Penilla
eae247954f build and publishing updates 2022-06-18 22:52:58 -07:00
Jason Penilla
a8932bc307 Update gradle wrapper 2022-06-18 22:52:58 -07:00
Jason Penilla
33c51967e2 build updates 2022-02-28 13:57:35 -07:00
Jason Penilla
e30d79d342 update gradle plugins 2022-02-28 13:57:35 -07:00
Jason Penilla
7421418ffd build changes
Update sponge repo

Update shadow

Reorder repos

Bump various dependencies

further repo adjustments

temporarily comment out sponge7 module so we can build

Revert "temporarily comment out sponge7 module so we can build"

This reverts commit 396921ae71ace17f7e545f0fbfe2687ba3337007.

Use temporary repo for sponge

restore sponge repo

update adventure platform
2021-12-18 04:12:42 -08:00
Jason Penilla
dbf5af7202 Update gradle wrapper 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
d2a47ad941 Split kotlin modules (#316) 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
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
f0a4add565 build: Update Gradle wrapper to 7.2 2021-12-02 02:04:43 -08:00
Jason Penilla
197b892100 build: Update Gradle to 7.1.1 and Indra to 2.0.6 2021-12-02 02:04:43 -08:00
Jason Penilla
06b4a70c26 build: Apply sonatype publishing plugin 2021-07-05 02:56:06 -07:00
Jason Penilla
f67b126cc9 Also remove the dependency 2021-07-05 02:56:06 -07:00
Jason Penilla
fb48a3c8af build: Update Gradle and plugins, small cleanup to build scripts 2021-07-05 02:56:06 -07:00
Jason
c9ac39ed26 Update build scripts for Gradle 7 (#247)
* fabric: Update Loom to 0.7-SNAPSHOT

* Update to Gradle 7

Switch to CadixDev/licenser
The plugin we were using before does not support Gradle 7, and hasn't been updated in over a year.

* Remove `jcenter()` references

* Move to new JDA repo and bump version

* Use setup-java v2 and Adopt JDK 16 in gh actions

* build: Temporarily add Incendo repo for plugin resolution

Allows building until licenser has a new release

* Import indra plugin classes instead of string applies

* remove space

Co-authored-by: broccolai <me@broccol.ai>
2021-07-05 02:56:06 -07:00
jmp
b7ffbda532 Update Gradle to 6.8.1 2021-07-05 02:56:06 -07:00
jmp
47d602fde1 Update Gradle to 6.8 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
broccolai
5cdef1b401 Update gradle and gradle plugin versions 2020-10-24 19:52:44 +02:00
Alexander Söderberg
4ca47777a3 Switch to gradle 2020-09-30 10:40:44 +02:00