machine:
  java:
    version: oraclejdk8 
  services:
    - docker

test:
  override:
    - ./gradlew checkstyleMain checkstyleTest test --info
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

general:
  artifacts:
    - build/reports

deployment:
  develop:
    branch: develop
    commands:
     - ./gradlew -i artifactoryPublish
  release:
    tag: /[0-9]+(\.[0-9]+)+/
    commands:
      - ./gradlew -i bintrayUpload



machine:
  java:
    version: oraclejdk8 
  services:
    - docker

test:
  override:
    - ./gradlew checkstyleMain checkstyleTest test --info
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

general:
  artifacts:
    - build/reports

deployment:
  release:
    tag: /[0-9]+(\.[0-9]+)+/
    commands:
      - ./gradlew -i bintrayUpload



Remove unnecessary develop publish command
Remove unnecessary develop publish command
