You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eilievska edited this page Mar 28, 2016
·
4 revisions
The project uses a Gradle wrapper so there is no need to install Gradle locally in order to build, run or package the project. The only requirement is to have installed Java Development Kit 7+ (JDK) and Android SDK.
In the table, you can find some of the commonly used Gradle commands. More on Gradle and Libgdx, can be found here.
Command
Description
gradlew build
Build the project
gradlew desktop:run
Runs the desktop version of the game
gradlew desktop:dist
Packages a JAR file of the desktop game
gradlew desktop:launch4j
Creates an exe file from the desktop game
gradlew test
Runs unit tests on the core project
gradlew testScoverage
Executes all tests and creates Scoverage XML report with information about code coverage
gradlew reportScoverage
Generates test coverage reports
gradlew checkScoverage
Checks whether or not the unit test line and branch coverage are met