Is it possible to scan source but ignore test coverage when a subproject has no tests?

  • SonarQube 8.3.1 DE, Gradle Plugin 2.8
  • Scan multi-module project in java; some sub-projects are missing tests
  • Setting property sonar.tests = “” in sub-project causes failure of entire scan
    Setting skipProject = true works, but disables java analysis


You’re looking for coverage exclusions.