machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - git config --global user.email "shiketaudonko41@gmail.com"
    - git config --global user.name "kamatama41"

test:
  override:
    - ./gradlew check --stacktrace

deployment:
  release:
    branch: release
    commands:
      - git checkout master
      - git pull
      - ./gradlew release -Prelease.useAutomaticVersion=true

machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - git config --global user.email "shiketaudonko41@gmail.com"
    - git config --global user.name "kamatama41"
  override:
    - ./gradlew dependencies

test:
  override:
    - ./gradlew check --stacktrace

deployment:
  release:
    branch: release
    commands:
      - git checkout master
      - git pull
      - ./gradlew release -Prelease.useAutomaticVersion=true

Add dependency resolution for Gradle
Add dependency resolution for Gradle
