builds icon indicating copy to clipboard operation
builds copied to clipboard

Added support for gradle projects

Open RobotHanzo opened this issue 4 years ago • 4 comments

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

RobotHanzo avatar Mar 21 '21 13:03 RobotHanzo

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!

TheBusyBiscuit avatar Mar 21 '21 14:03 TheBusyBiscuit

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!

RobotHanzo avatar Mar 21 '21 15:03 RobotHanzo

Builds fine other than the slimecraft repo not existing

RobotHanzo avatar May 11 '21 11:05 RobotHanzo

I'm thinking of switching to Gradle on a few projects, this looks promising 👀

Seggan avatar Jul 01 '21 01:07 Seggan