I tried to include sonar exclusion but is working on a single class I have 5 classes to exclude all are in different packages of gradle project.
Build. gradle
sonarqube{
properties{
property"sonar.sourceEncoding","Utf-8"
property "sonar.ProjectName","ixxxx"
property "sonar.projectKey","org.sonarqube:ixxxx",
property "sonar.exclusions","**/*pxxxx.java"
}
}
please help with suggestions.
Just separate your individual classes by comma.
property "sonar.exclusions","**/*pxxxx.java, **/*Axxxx.java, **/*Bxxxx.java"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.