JnCrMx / discord-game-sdk4j

Java bindings for Discord's Game SDK
MIT License
114 stars 23 forks source link

Java JitPack fixes #62

Closed letorbi closed 1 year ago

letorbi commented 1 year ago

Currently the java-impl branch won't compile on JitPack due to a number of problems. This PR fixes the following problems:

Once this PR is merged, JitPack will be able to compile the java-impl branch again.

letorbi commented 1 year ago

Do you think that this MR could be merged as well, now that #61 has been merged? It's quite small and should be easy to test since only the compiling instructions for JitPack are affected.

Or are there any things you are not happy with? Just tell me and I will try to fix them :)

For what it's worth: I'm using my fork (which includes this PR) with JitPack and everything works without problems.

JnCrMx commented 1 year ago

I am a little surprised the source ~/.sdkman/bin/sdkman-init.sh works as a separate command, but this seems like a much cleaner solution. I will have to fix the JavaDoc eventually, but for now, I will merge this.

JnCrMx commented 1 year ago

And thank you very much for your help and contributions! :D

letorbi commented 1 year ago

I am a little surprised the source ~/.sdkman/bin/sdkman-init.sh works as a separate command, but this seems like a much cleaner solution.

I am not an expert on JitPack or SDKMAN, so there might be better ways to implement this...

And thank you very much for your help and contributions! :D

You are welcome. I actually need the library for a little project of mine, so my contributions were not completely altruistic ;)