This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
Building
La-Gonette edited this page May 9, 2018
·
4 revisions
La Gonette uses Gradle to build the project and to maintain dependencies.
The following steps should help you (re)build La Gonette from the command line.
-
Checkout the source somewhere on your filesystem with
git clone https://github.com/La-Gonette/lagonette-android.git
-
Make sure you have the Android SDK installed somewhere on your system.
-
Ensure that the following packages are installed from the Android SDK manager:
- Android SDK Build Tools
- SDK Platform
- Android Support Repository
- Google Repository
-
Execute Gradle:
./gradlew assembleDebug
Android Studio is the recommended development environment.
- Install Android Studio.
- Make sure the "Android Support Repository" is installed in the Android Studio SDK.
- Make sure the latest "Android SDK build-tools" is installed in the Android Studio SDK.
- Create a new Android Studio project. from the Quickstart pannel (use File > Close Project to see it), choose "Checkout from Version Control" then "git".
- Paste the URL for the La Gonette project when prompted (https://github.com/La-Gonette/lagonette-android.git).
- Android studio should detect the presence of a project file and ask you whether to open it. Click "yes".
- Default config options should be good enough.
- Project initialisation and build should proceed.
Code contributions should be sent via github as pull requests, from feature branches as explained here.
You also should read our contributing guide.