machine:
  java:
    version: openjdk8

dependencies:
  pre:
    - echo y | android -s update sdk -u -a -t "tools"
    - mkdir -p $ANDROID_HOME/licenses
    - echo -e "8933bad161af4178b1185d1a37fbf41ea5269c55" > $ANDROID_HOME/licenses/android-sdk-license
    - echo -e "84831b9409646a918e30573bab4c9c91346d8abd" > $ANDROID_HOME/licenses/android-sdk-preview-license
    - $ANDROID_HOME/tools/bin/sdkmanager "platform-tools"
    - $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2"
    - $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2"
  cache_directories:
    - /usr/local/android-sdk-linux/build-tools/25.0.3
    - /usr/local/android-sdk-linux/tools/
  override:
    - ./gradlew app:dependencies

compile:
  override:
    - ./gradlew clean assembleStandardRelease -PdisablePreDex

test:
  override:
    - ./gradlew testStandardRelease -PdisablePreDex
Add CircleCI configuration to repo
Add CircleCI configuration to repo

Previously, all CircleCI configuration was done through the web console. This commit moves the current build configuration into a circle.yml config file.
