machine:
    java:
        version: oraclejdk8

dependencies:
    pre:
        - echo y | android update sdk --no-ui --all --filter "tools"
        - echo y | android update sdk --no-ui --all --filter "platform-tools"
        - echo y | android update sdk --no-ui --all --filter "build-tools"
        - echo y | android update sdk --no-ui --all --filter "build-tools-24.0.2"
        - echo y | android update sdk --no-ui --all --filter "build-tools-25.0.0"
        - echo y | android update sdk --no-ui --all --filter "android-24"
        - echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"
        - echo y | android update sdk --no-ui --all --filter "extra-google-google_play_services"
        - echo y | android update sdk --no-ui --all --filter "extra-android-support"
        - echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"
machine:
    java:
        version: oraclejdk8

dependencies:
    pre:
        - echo y | android update sdk --no-ui --all --filter "tools"
        - echo y | android update sdk --no-ui --all --filter "platform-tools"
        - echo y | android update sdk --no-ui --all --filter "build-tools"
        - echo y | android update sdk --no-ui --all --filter "build-tools-24.0.2"
        - echo y | android update sdk --no-ui --all --filter "build-tools-25.0.0"
        - echo y | android update sdk --no-ui --all --filter "android-24"
        - echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"
        - echo y | android update sdk --no-ui --all --filter "extra-google-google_play_services"
        - echo y | android update sdk --no-ui --all --filter "extra-android-support"
        - echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"

test:
    override:
        - ./gradlew assembleDebug
        - cp -r android-daily-headlines/build/outputs $CIRCLE_ARTIFACTS
Use full build for CI Previously it was only running `if [ -e ./gradlew ]; then ./gradlew test;else gradle test;fi`
[UPDATE] Use full build for CI
Previously it was only running `if [ -e ./gradlew ]; then ./gradlew test;else gradle test;fi`
