Skip to content

Commit eccbc7d

Browse files
chore: add spotbugs
1 parent 7643c32 commit eccbc7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

buildSrc/src/main/kotlin/pq.java-conventions.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
`java-library`
33
`maven-publish`
44
id("net.ltgt.errorprone")
5+
id("com.github.spotbugs")
56
}
67

78
java {
@@ -10,9 +11,15 @@ java {
1011
}
1112
}
1213

14+
spotbugs {
15+
ignoreFailures = true
16+
}
17+
1318
dependencies {
1419
implementation("org.jetbrains:annotations:26.0.2-1")
20+
1521
errorprone("com.google.errorprone:error_prone_core:2.43.0")
22+
spotbugs("com.github.spotbugs:spotbugs:4.9.8")
1623

1724
compileOnly("org.projectlombok:lombok:1.18.42")
1825
annotationProcessor("org.projectlombok:lombok:1.18.42")

0 commit comments

Comments
 (0)