Do ./gradlew <task> to compile and run the project, where task is:
- Desktop:
desktop:run - Android:
android:installDebug android:run - iOS:
launchIosDeviceorlaunchIphoneSimulatororlaunchIpadSimulator - HTML:
html:superDev(this doesn't work yet, some classes need to be changed) - Generate IDEA project:
idea
So, For example, you would run gradlew desktop:run In windows. (Or ./gradlew desktop:run if you are using Linux)
For more info about those and other tasks: https://github.com/libgdx/libgdx/wiki/Gradle-on-the-Commandline#running-the-html-project