Closed demoth closed 3 years ago
@demoth thank you for addressing this. I am not at a computer at the moment but I see that it failed to build in the Github action. Can you please address that? I will have time this evening or tomorrow to take a look. I am currently traveling back from work over the next couple days.
yep, checking..
fixed, a wrong plugin was used
@demoth sorry for the delay. I finally have reached me destination, currently in Nebraska for a week.
A couple items to address here, I racked my brain trying to remember why those were added as dependencies. Finally it occurred to me that it was to run the example server/client. I agree that this library should be independent of lwjgl and desktop. The best solution would be to create a separate gradle subproject for the examples and the library. Would you be willing to tackle that in this PR?
Sure, I can take a look. I have another idea - move the example server/client to test and make their dependency as test scope - thus not leaking to the consumer classpath
@tlf30 Now test client and server works
It is generally considered bad practice to mix examples and test. Example code should be left out of the test code, only code related to unit and integration testing. At the moment we do not have any unit/integration tests in the project, but I plan to move some of the existing tests from Outside into this repo. Also, please do not increment the version number, 0.1.0 is not yet released so it does not need to be change.
Thank you for working on this. ~Trevor
@tlf30 I can put examples to the gradle submodule
please check if the naming is fine or not
I'm on my phone right now, but that looks fantastic, thank you. I will do a proper review when I get to a computer.
This looks great, thank you for your contribution!