Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Building Clover

Floens edited this page Aug 31, 2014 · 8 revisions

Building Clover

Install the required tools

Fork and clone

  • 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

Setup Android Studio

  • 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!

Create a pull request

  • Commit your changes git commit -a i, enter a descriptive message and save with ESC :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
Clone this wiki locally