Hello. I’m currently trying to build a server for my game. I’m most of the way there, except I would like to use a consistent library for items like Vector2s between my client and server side. Therefore, I would like to import the libgdx library for my server project. I’d prefer not to start a new libgdx project and transfer my server onto it.
I’ve tried importing the libgdx JAR from the filepath in my client’s gradle project, but I just got empty packages (because it’s gradle?). Next I’m going to try compiling the open source of libgdx that’s on github. I’m pretty sure this will work, but it feels like there should be a better way. Is there?
Edit: Success w/ github proj.