• Runtimes
  • Spine LibGDX Runtime Setup

Hi everyone,

I'm trying to setup the Spine Runtime for LibGDX and I can't figure out how to do it.

I've downloaded the spine-libgdx project off Github, imported the project into Eclipse, which requires the gdx project, so I downloaded the libgdx-master project and imported the gdx and gdx-jnigen projects, but that has missing libraries (hamcrest-core-1.3.jar and junit-4.11.jar) that I can't find anywhere in the repo...

Am I missing something simple? Is there a .JAR of the LibGDX Runtime with it's dependencies packaged with it or something to make this easier?

Sorry for the silly question, I did search the web and also these forums but I still couldn't find a guide or any help.

Cheers,

Mike.

Related Discussions
...

I run libgdx from source. To do that you are close, just run ant -f fetch.xml in the libgdx root and it will download the dependencies. Note this is not the recommended way to do it though, and Mario will shout at me for telling you about it. 😃 See here for the official way:
https://github.com/libgdx/libgdx/wiki/Project-Setup-Gradle
We don't yet have a Spine checkbox there yet, but I believe we will soon. Right badlogic! :happy:

Thanks for your help Nate.

I had to install Apache ANT first but I did manage to download the gdx libs folder using this method. I could then export the spine-libgdx project as a jar packaging the dependencies and import the runtime into my project as a library.

I don't quite understand how to get the libs with the Gradle approach, I downloaded Gradle but couldn't figure out how to use it download the libraries, but that's probably a question for the LibGDX forums 😛 Mario, please don't shout at Nate, ANT is easier to figure out ha ha.

A Spine extension checkbox in the LibGDX project setup would make a world of difference, especially for novices like me!

Thank you again for your help Nate, it's much appreciated.

Mike.

For Gradle + Spine libGDX Runtime I need to publish the the runtime to SonaType first. Then I can add it to the setup-ui. See this issue [libgdx] Gradle support · #567

Soon.

Thank you for your work Badlogic, it's amazing what you do for the community.
The support here is fantastic, thank you to both of you.
If you ever do a community survey or something, I'll be the first to give it a 11/10!