Added support for gradle projects
Description
This PR brings the ability to use Gradle as a build tool, for those who are more familiar / used to Gradle The following features are offered:
- A new key in repo.json config that indicates if that repo is supposed to be compiled with Gradle or Maven
- A test that tests the functionality of Gradle building
- A README.md reform that includes Gradle in it
- Most important of all, compiles using Gradle shell script in the addon repo
Reason
As a follow up PR for https://github.com/Slimefun/Addon-Template/pull/5 so it works in the future when one is using Gradle based template
Oh wow, having this support Gradle would be very awesome, thanks a lot!
Though bare with me please, I'll be honest and tell you that this is gonna take a long time to review. I currently got 56 Pull Requests and 65 Issues in my back log and it is gonna take some time till I get to this. And the reviewing itself may also take quite a while since it is a relatively huge PR. But thanks a lot for making these changes!
No problem, but please notify me for any issues in the code As I am still kinda learning JS and Java, it would be great if you could point out anything that could be optimized!
Builds fine other than the slimecraft repo not existing
I'm thinking of switching to Gradle on a few projects, this looks promising 👀