machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - echo y | android update sdk --no-ui --all

deployment:
  production:
    branch: release
    commands:
      - ./gradlew assembleRelease
      - cp -r app/build/outputs/apk/ $CIRCLE_ARTIFACTS
machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - echo y | android update sdk --no-ui --all

deployment:
  production:
    branch: master
    commands:
      - ./gradlew assembleRelease
      - cp -r app/build/outputs/apk/ $CIRCLE_ARTIFACTS

Change master branch to develop
Change master branch to develop
