language: java
jdk:
  - oraclejdk8
after_success:
  - ./gradlew sonarqube \
      -Dsonar.organization=github-apollo-rsps \
      -Dsonar.host.url=https://sonarcloud.io \
      -Dsonar.login="$SONARCLOUD_TOKEN"
  - ./gradlew jacocoTestReport
  - bash <(curl -s https://codecov.io/bash)
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
language: java
jdk:
  - oraclejdk8
after_success:
  - ./gradlew \
      -Dsonar.organization=github-apollo-rsps \
      -Dsonar.host.url=https://sonarcloud.io \
      -Dsonar.login="$SONARCLOUD_TOKEN" \
      sonarqube
  - ./gradlew jacocoTestReport
  - bash <(curl -s https://codecov.io/bash)
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
Fix order of gradle arguments in sonarqube run
Fix order of gradle arguments in sonarqube run
