machine:
  java:
    version: oraclejdk8

dependencies:
  post:
    # Compile the code in dependencies directive would allow CircleCI to cache all Maven dependencies
    - ./gradlew compileTestJava

test:
  post:
    - ./gradlew jacocoTestReport
    - cp -Rf build/reports/ $CIRCLE_ARTIFACTS/
    - bash <(curl -s https://codecov.io/bash)

deployment:
  release:
    branch: master
    commands:
      - git config core.filemode false
      - chmod +x maven-release.sh
      - ./maven-release.sh
machine:
  java:
    version: openjdk8

dependencies:
  post:
    # Compile the code in dependencies directive would allow CircleCI to cache all Maven dependencies
    - ./gradlew compileTestJava

test:
  post:
    - ./gradlew jacocoTestReport
    - cp -Rf build/reports/ $CIRCLE_ARTIFACTS/
    - bash <(curl -s https://codecov.io/bash)

deployment:
  release:
    branch: master
    commands:
      - git config core.filemode false
      - chmod +x maven-release.sh
      - ./maven-release.sh
Use openjdk8 for CircleCI build
Use openjdk8 for CircleCI build


Former-commit-id: 11178bd07fee96815afb5d4647f3c4638157e06d