- Published in AppDev
- Written by Michael Wagner
Setup (2/2): Gradle and LibGDX Project
What we're about to do:
- Eclipse Gradle Plugin
- LibGDX Setup Tool (Download)
- Projekte Eclipse-Import
- Run HelloWorld
Within the scope of this post, we will finish setting up our libGDX development environment. After we already prepared our machine to develop Java by installing the Java Development Kit (JDK) and Android by installing the Android SDK (we did it here), we are going to take care of the proper implementation for the build automation tool Gradle, its integration with Eclipse and the creation and integration of the libGDX project files.
But what do we need Gradle for? Gradle allowes us the dependency and version management of the software tools and frameworks used in our projects in a very simple manner. For example, it helps us out with the updating process of the libraries like libGDX or box2d physics. In earlier days, before gradle and before other dependency management tools, it wasn't always easy to find the necessary resources, change them and link them together in the right way in your project. Gradle completely removes this burden from our shoulders. A fully fledged Gradle tutorial would be out of the scope from this tutorial, though. If you want do deepen your knowledge about gradle, feel free to check this site out.