Commit Graph

1465 Commits

Author SHA1 Message Date
Jeremy Wood
0db90dc0b9
Set up DI for primary dependencies of MultiverseCore. 2023-03-07 14:39:11 -05:00
Jeremy Wood
6a434746c9
Also bind plugin logger in PluginBinder. 2023-03-07 14:16:58 -05:00
Jeremy Wood
de6b25db35
Also bind MultiverseCore to MVCore and MVPlugin. 2023-03-07 02:24:00 -05:00
Jeremy Wood
40637e6a88
Enable basic dependency injection. 2023-03-07 01:59:48 -05:00
Jeremy Wood
7ad0b04787
Abstract TestWithMockBukkit out of MockBukkitTest. 2023-03-07 00:20:26 -05:00
Jeremy Wood
00554fefc3
Add vavr dependency. 2023-03-06 22:55:36 -05:00
Jeremy Wood
0082287a5d
Enable hk2 annotation processing. 2023-03-06 20:41:27 -05:00
Jeremy Wood
4576ca99c9
Add hk2 dependency. 2023-03-04 10:26:49 -05:00
Ben Woo
3f6c3047d8
fix: Restore locales setup method (#2881) 2023-03-03 22:23:39 +08:00
Jeremy Wood
e4fd23709f
Merge pull request #2882 from Multiverse/dumptruckman/fix_mock_bukkit
Downgrade MockBukkit to 2.141.0.
2023-03-03 08:29:57 -05:00
Jeremy Wood
a255f55b6f
Downgrade MockBukkit to 2.141.0. 2023-03-03 08:27:12 -05:00
Jeremy Wood
e0e2a0f0c2
Merge pull request #2879 from Multiverse/dumptruckman/new_tests
Add new test module using Kotlin and JUnit 5.
2023-03-02 08:56:39 -05:00
Jeremy Wood
a4e84ad581
Use ServerMock instead of Server. 2023-03-02 08:36:43 -05:00
Jeremy Wood
65cb3f7037
Put test method after tearDown. 2023-03-02 08:35:52 -05:00
Jeremy Wood
fc7509cca6
Use a better test method name. 2023-03-02 08:35:30 -05:00
Jeremy Wood
eebb4a4a6d
Implement initial test using MockBukkit. 2023-03-02 02:22:47 -05:00
Jeremy Wood
698d1c7954
Switch to JUnit 5 for new tests. 2023-03-02 02:10:36 -05:00
Jeremy Wood
ed73fd059e
Add Kotlin dependency for tests only. 2023-03-02 02:07:38 -05:00
Jeremy Wood
87225b1c65
Move old tests to old-test. 2023-03-02 01:20:38 -05:00
Jeremy Wood
6362d9fb17
Merge pull request #2878 from Multiverse/dumptruckman/merge_main
Merge main branch into MV5
2023-03-02 00:58:37 -05:00
Jeremy Wood
d5ba55716b
Merge remote-tracking branch 'origin/main' into dumptruckman/merge_main
# Conflicts:
#	build.gradle
2023-03-02 00:56:34 -05:00
Jeremy Wood
4eca331430
Merge pull request #2877 from Multiverse/dumptruckman/separate_test_deps
Use a separate API version for running tests.
2023-03-02 00:53:24 -05:00
Jeremy Wood
b6574245b8
Remove junit exclusion from compileOnly bukkit. 2023-03-02 00:48:54 -05:00
Jeremy Wood
85d744d79f
Run tests against spigot-api 1.19.3. 2023-03-02 00:44:32 -05:00
Jeremy Wood
e536dff1a8
Use a separate bukkit dependency for tests. 2023-03-02 00:37:30 -05:00
Jeremy Wood
39287f55ef
Delete CODEOWNERS. 2023-03-01 23:36:41 -05:00
Ben Woo
d5ebde53b9
Add maven central to repositories (#2859)
Co-authored-by: Jeremy Wood <farachan@gmail.com>
2023-03-02 12:32:07 +08:00
Jeremy Wood
101ddae443
Create CODEOWNERS. 2023-02-28 23:03:50 -05:00
Ben Woo
e58de8d74d
Merge pull request #2843 from Multiverse/help-command
feat: Implement help command
2023-02-28 23:21:36 +08:00
Ben Woo
974afb4751
feat: Implement help command 2023-02-28 23:16:09 +08:00
Ben Woo
d819153690
Merge pull request #2842 from Multiverse/file-locales
feat: Improve locale support
2023-02-28 23:13:23 +08:00
Ben Woo
7dbd29b838
refactor: Shift classes and add javadocs 2023-02-28 23:07:19 +08:00
Ben Woo
560e3ab201
refactor: Make FileResClassLoader usable for other file paths. 2023-02-28 23:07:19 +08:00
Ben Woo
ffc4c600c5
feat: Enable per player locale support 2023-02-28 23:07:18 +08:00
Ben Woo
44904eaef4
feat: Allow for custom locale folder path 2023-02-28 23:07:18 +08:00
Ben Woo
47a92deffd
refactor: Use '&' for chat color formatting 2023-02-28 23:07:17 +08:00
Ben Woo
b4549c6791
feat: Add support for loading locales from plugin dir 2023-02-28 23:07:17 +08:00
Jeremy Wood
2b97f7310f
Use pull_request_target for auto labeler. 2023-02-25 20:39:56 -05:00
Jeremy Wood
073091525b
Label PRs automatically as prerelease. 2023-02-25 20:34:19 -05:00
Jeremy Wood
79b9c12319
Change job name for manually promoting releases. 2023-02-25 20:29:04 -05:00
Jeremy Wood
01f745b027
Skip checking PR labels. 2023-02-25 19:39:14 -05:00
Jeremy Wood
9725bdfeeb
Use ref input. 2023-02-25 14:02:01 -05:00
Jeremy Wood
cdf9767959
Use target_commitish for GITHUA_SHA. 2023-02-25 13:41:26 -05:00
Jeremy Wood
66e21da6b2
Add version to publish action as well. 2023-02-25 13:39:59 -05:00
Jeremy Wood
87b14d3944
Add publish and upload. 2023-02-25 13:34:24 -05:00
Jeremy Wood
7bbeb90320
Remove dry_run. 2023-02-25 13:34:10 -05:00
Jeremy Wood
cd895d03dc
Remove extra } in bump_version_scheme. 2023-02-25 13:32:08 -05:00
Jeremy Wood
ee2a304148
Reorder version bump types. 2023-02-25 13:31:49 -05:00
Jeremy Wood
06e9e33da4
Workflow requires version bump type. 2023-02-25 13:28:36 -05:00
Jeremy Wood
7065ffaea2
Remove checkstyle from promote workflow. 2023-02-25 13:24:24 -05:00