machine:
  java:
    version: oraclejdk6
test:
  override:
    - TERM=dumb ./gradlew --no-color install check
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

machine:
  java:
    version: oraclejdk6
test:
  override:
    - TERM=dumb ./gradlew --console=plain install check
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

Replace deprecated gradle command line argument
Replace deprecated gradle command line argument
