Groovy Libraries
What is this?
This project enables mod developers to create their addons using the Apache Groovy programming language. It's a pure library that doesn't add any additional functionality to the game.
Problems solved
When a mod creator wants to write code in Groovy, they face the necessity of including the corresponding libraries directly in their project. The alternative option - asking users to download groovy.jar themselves and place it in the mods folder - also works, but leads to strange errors and warnings in the logs, since the system perceives this file not as a full-fledged mod.
Usage benefits
- Developers no longer need to embed Groovy libraries in their mods - it's enough to simply specify a dependency on this project
- The same libraries can be used by several modifications simultaneously, eliminating code duplication
- Strange errors and warnings in the logs that occurred when using groovy.jar as a regular file disappear
Quick start
- Add Groovy to your build.gradle in the standard way (install the Groovy plugin and necessary dependencies)
- Specify in your mod settings that it requires this library, and make sure it loads before your mod