Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19854

Exclude of non-related class in gradle showing coverage in sonar dashboard

$
0
0

I am currently using community edition of sonar Version 7.9.1. Added the below piece of code in my build.gradle for the exclusion of some of classes, but sonar dashboard of this particular project shows coverage for the below class file. Somehow my build.gradle is not honoring the below piece of code

scenario 1

sonarqube {
properties {
property “sonar.exclusions”, “com.sample.scenario.repository.*”
}
}

scenario 2

sonarqube {
properties {
property ‘sonar.coverage.exclusions’, “/com/sample/scenario/repository/
}
}


Viewing all articles
Browse latest Browse all 19854

Trending Articles