general:
  artifacts:
    - app/build/outputs/apk
machine:
  java:
    version: oraclejdk8
dependencies:
  cache_directories:
    - ~/.android
    - ~/android
  pre:
    - echo y | android update sdk --no-ui --all --filter "tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23"
    - echo y | android update sdk --no-ui --all --filter "build-tools-23.0.3"
  override:
    - echo override dependencies

test:
  override:
    - ./gradlew assembleDebug -PdisablePreDex:
        timeout: 900

general:
  artifacts:
    - app/build/outputs/apk
machine:
  java:
    version: oraclejdk8
dependencies:
  cache_directories:
    - ~/.android
    - ~/android
  pre:
    - echo y | android update sdk --no-ui --all --filter "tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23"
    - echo y | android update sdk --no-ui --all --filter "build-tools-23.0.3"
  override:
    - echo override dependencies

test:
  override:
    - ./gradlew assembleDebug -PdisablePreDex:
        timeout: 1800

Increase CircleCI timeout to 30 min
Increase CircleCI timeout to 30 min