Skip to content

Commit 95f463e

Browse files
authored
Merge pull request #518 from tokuhirom/spotbugs-gradle-plugin-4.0.8
Upgrade spotbugs-gradle-plugin to 4.0.8
2 parents 42e0659 + 80b3afd commit 95f463e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

build.gradle

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* under the License.
1515
*/
1616

17-
import com.github.spotbugs.SpotBugsTask
17+
import com.github.spotbugs.snom.SpotBugsTask
1818
import org.springframework.boot.gradle.plugin.SpringBootPlugin
1919

2020
// ./gradlew clean && ./gradlew uploadArchives -Prelease
@@ -33,7 +33,7 @@ buildscript {
3333
dependencies {
3434
classpath 'com.github.ben-manes:gradle-versions-plugin:0.27.0'
3535
classpath 'com.puppycrawl.tools:checkstyle:8.32'
36-
classpath 'gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:2.0.0'
36+
classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.0.8'
3737
classpath 'io.franzbecker:gradle-lombok:4.0.0'
3838
classpath 'io.spring.gradle:dependency-management-plugin:1.0.9.RELEASE'
3939
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
@@ -192,8 +192,14 @@ subprojects {
192192
}
193193

194194
tasks.withType(SpotBugsTask) {
195-
reports.xml.enabled = false
196-
reports.html.enabled = true
195+
reports {
196+
xml {
197+
enabled = false
198+
}
199+
html {
200+
enabled = false
201+
}
202+
}
197203
excludeFilter = file("$rootProject.projectDir/config/findbugs/excludeFilter.xml")
198204
}
199205

0 commit comments

Comments
 (0)