forked from jsettlers/settlers-remake
-
Notifications
You must be signed in to change notification settings - Fork 18
Compiling using gradle
Paul Wedeck edited this page Mar 22, 2022
·
8 revisions
git clone https://github.com/jsettlers/settlers-remake.git
- Download the Android SDK
- Create a new file called
local.properties
:
sdk.dir=<path to where you put your android sdk>
./gradlew run
You can also use runMapCreator
to start the map creator.
In this configuration, all maps including the test maps are available to be played.
Run on your Android device:
./gradlew runAndroid
./gradlew release
If you just intent to build the release version of the desktop client run:
./gradlew releaseJSettlers
You will find the zip files in release/
The maps in the maps/release
directory are packed into the release ZIP and the Android APK package.
You should first follow the above steps until you can run the application.
You need to download IntelliJ IDEA or Android Studio.
Start it. When prompted about the project directory, point it to where you cloned our repository to.
You should follow our guide to set up code formatting.