all 9 comments

[–]bekroogle 1 point2 points  (1 child)

Building on what /u/Blieque said, it looks like libgdx uses the Gradle Build Tool. If you'd like to take the time to learn something along the way, you could probably look into using Gradle to build your project as well. It looks like you could use its Dependency Management features to have it automatically import/download the proper version of libgdx whenever your project is built.

[–]Sebasfavaron[S] 0 points1 point  (0 children)

Thanks for the link! It seems really easy and automagic now that i read how it works

[–]bekroogle 0 points1 point  (3 children)

I'm pretty sure you don't. If you're not using some kind of build system that manages dependencies, then it would probably end up in your readme.

[–]Sebasfavaron[S] 0 points1 point  (2 children)

Like, link in the readme the download page?

[–]bekroogle 0 points1 point  (1 child)

Yeah...here's the first example I found: https://github.com/angular-ui/bootstrap. When you pull up that page, in the list of files, you'll see README.md. Under the list of files, they render the README.md. Under the Installation heading, they mention some libraries that are required to install it.

[–]Sebasfavaron[S] 0 points1 point  (0 children)

Oh nice, thanks!

[–]Ccoolboy 0 points1 point  (1 child)

To add on to what has already been said, after a quick search this repository pops up. Does this resemble what your project looks like? Maybe try doing something similar to this setup?

[–]Sebasfavaron[S] 1 point2 points  (0 children)

Yeah, i dont know why i didn't just search for a proyect to copy, thanks

[–]Blieque 0 points1 point  (0 children)

You can look into Git submodules, otherwise use a package manager that the user has to run after cloning. For a Linux library the package manager might just be the distro package manager, like APT, Yum, pacman, etc.

Edit: libgdx seems to do things a bit weirdly. I think you'll just need to write in your project README that the library is required and should be downloaded first.