Skip to content

Commit c32e686

Browse files
committed
Fix sonar warnings
1 parent 7cc3d44 commit c32e686

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,16 @@ test {
9999
useJUnitPlatform()
100100
}
101101

102+
sonar {
103+
properties {
104+
// Ignore sonar warnings globally
105+
property 'sonar.issue.ignore.multicriteria', 'S1948'
106+
// Ignore serialization waring as it's only relevant for RMI which is not used
107+
property 'sonar.issue.ignore.multicriteria.S1948.ruleKey', 'java:S1948'
108+
property 'sonar.issue.ignore.multicriteria.S1948.resourceKey', '**/*.java'
109+
}
110+
}
111+
102112
// Add resources directory because intellij test framework checks there for test resources (instead of build/resources)
103113
sourceSets {
104114
test.output.resourcesDir = "build/classes/java/resources"

0 commit comments

Comments
 (0)