* Revert "revert: "qa: parametrize logger usages (#5173)" (#5180)"
This reverts commit 4f42a8fa1a.
* revert upgrade slf4j-2.0
* micrometer 1.9.8 --> 1.9.12
* qa, still use old slf4j, feedback jdrueckert.
gradle does not care about the logger definition in engine-tests, it
uses the one from engine also for the tests. remove it to not confuse.
---------
Co-authored-by: soloturn <soloturn@gmail.com>
* fix junitXmlReport.isEnabled -> required
* fix several declaration of `copyResourcesToClasses`. unitTests and integrationTests works now
* fix undeclared implicit dependency gradle errors
* update groovyw wrapper to work with Gradle 8
* use kotlin-1.9, force java-11 target
* update spotbugs version for gradle 7+, java-17, java-20 (#5126)
Co-authored-by: Benjamin Amos <benjamin.amos11@gmail.com>
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
Co-authored-by: Tobias Nett <skaldarnar@gmail.com>
Co-authored-by: soloturn <soloturn@gmail.com>
Used to set the gameplay name (e.g. Josharias Survival, Metal Renegades, etc...)
It will show on discord in this format "Game: <name>"
- Improve the buffer change trigger and handler
- Ability to change details in the buffer
- Apply the new format for the rich presence
-- Details -> "Game: <name>"
-- Party State -> "Playing Solo" / "Playing Online" / "Hosting"
- Fix: Triggering `Thread#setEnabled` with keeping the connection alive
- Fix: No safe shutdown to the RPC thread
The rewrite was necessary to be able to achieve the system to be thread-safe.
It gave the opportunity to organise how the subsystem works.
This also ensures the subsystem is easy to:
- Implement new features!
- Fix bugs without breaking stuff
- Separated the thread into its own class
- Subsystem manages the communication with the thread
- Re-organized the system
- Fix: disable discord-ipc library logger
* docs(subsystems): add Readme for DiscordRPC subsystem
* feature(subsystems): add separate configuration for subsystems and add it to classpath
* feature(subsystems): add subsystems to dist
* feature(subsystems): add README for subsystems
* chore(subsystems): Use logger.info for subsystems. use common.gradle instead publish.gradle
* feature(subsystems): re-integrate afk subsystem handling in discord submodule
Co-authored-by: Tobias Nett <skaldarnar@googlemail.com>