This repository has been archived by the owner on Sep 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 261
Building Clover
Floens edited this page Aug 31, 2014
·
8 revisions
- Install git
- Install the latest JDK (NOT just the jre)
- 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 "Import Project..."
- Select the file
Clover/Clover/build.gradle
and press OK - Wait for Gradle to be finished (accept any Windows firewall alerts in the background if on Windows)
- Click the SDK Manager button at the top
- Open up the build.gradle file
- In the SDK Manager enable the checkbox on the Android version with the same API level as the
compileSdkVersion
in build.gradle - Also enable the checkbox on the Android SDK Build-tools with the same version as the
buildToolsVersion
in build.gradle - Click the "Install packages..." button
- Close the SDK Manager when finished
- Open up the Clover/build.gradle file in Android Studio
- Click "try again" to sync the project
- Wait for Gradle to finish (can take a very long time)
- In the console type
cd Clover
git update-index --assume-unchanged Clover/Clover.iml
git update-index --assume-unchanged Clover/app/app.iml
And you're ready to make changes!
- 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
Guides:
How to build Clover
Adding a site
Add a new theme
Rambling:
Clover UI infrastrucure