File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1414 * under the License.
1515 */
1616
17- import com.github.spotbugs.SpotBugsTask
17+ import com.github.spotbugs.snom. SpotBugsTask
1818import 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
You can’t perform that action at this time.
0 commit comments