Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moving to gradle / maven #714

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

phu54321
Copy link

@phu54321 phu54321 commented Oct 3, 2022

fixes #648

Good things:

  • We can use maven and manage .jar dependencies using gradle. When one wants to upgrade the dependencies, one can just change build.gradle and it's done.
  • gradle is much well-supported on popular IDEs. (android studio, IDEA) It's also the recommended build system by libgdx.
  • Moving to lwjgl or porting code to other platforms (android / ios / html5) will be much easier. There are some conflicting packages (notably java-discord-rpc and jportaudio), but these dependencies could easily bypassed? (ex: macOS and ios doesn't require jportaudio for low-latency audio)
  • Managing macOS arm64e build will be much manageable.

Currrent caveats:

  • shadowJar (thing that consolidates library .jars to beatoraja.jar) embeds ALL unused libraries from javacpp-presets. (ex: opencv)

Maybe I could fix this, but first a working beatoraja source should first be public.

When these issues are resolved, I could fix those issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider migrate build system to maven?
1 participant