This repository has been archived by the owner on Sep 25, 2021. It is now read-only.
Building Clover
Floens edited this page Apr 10, 2016
·
8 revisions
- Install git
- Install Android Studio
- Fork Clover by pressing the Fork button
- Open up a terminal (git bash if on Windows)
- Clone your new repo
git clone https://github.com/YOURNAME/Clover
- Open Android Studio
- Click "Open an existing Android Studio project"
- Select the file
Clover/Clover/build.gradle
and press OK - Open up the build.gradle file and note the
buildToolsVersion
and thecompileSdkVersion
, you will need to install the same versions. - Open the SDK Manager by clicking the button at the top, and make sure that the correct SDK Tools versions and SDK Platforms versions are installed.
- Sync the project again and it should be ready.
- Commit your changes
git commit -a
i
, enter a descriptive message and save withESC
:wq
ENTER
- Push your changes to your repo
git push
- Make a pull request at https://github.com/YOURNAME/Clover/pulls
- Make a descriptive title and click Create pull request button
You will still need the Android sdk installed, but because we use gradle the following command in the terminal should be enough: ./gradlew assembleRelease
, or go to the gradle pane at the right in Android Studio and execute the assembleRelease
task. The apk ends up in Clover/Clover/app/build/outputs/apk/. See the comment in the build.gradle file how to sign your apk.
Guides:
How to build Clover
Adding a site
Add a new theme
Rambling:
Clover UI infrastrucure