File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ artifactIdGradle=spotless-plugin-gradle
21
21
22
22
# Build requirements
23
23
VER_JAVA =11
24
- VER_SPOTBUGS =4.7.3
25
24
VER_JSR_305 =3.0.2
26
25
27
26
# Dependencies provided by Spotless plugin
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ tasks.withType(JavaCompile).configureEach {
14
14
// ////////////
15
15
apply plugin : ' com.github.spotbugs'
16
16
spotbugs {
17
- toolVersion = VER_SPOTBUGS
18
17
ignoreFailures = false // bug free or it doesn't ship!
19
18
reportLevel = ' medium' // low|medium|high (low = sensitive to even minor mistakes)
20
19
omitVisitors = [
@@ -30,16 +29,10 @@ tasks.withType(com.github.spotbugs.snom.SpotBugsTask).configureEach {
30
29
reports {
31
30
html. enabled = true
32
31
}
33
- notCompatibleWithConfigurationCache(" https://github.com/spotbugs/spotbugs-gradle-plugin/issues/670" )
34
32
}
35
33
36
- tasks. named(' spotbugsMain' ) {
37
- reports {
38
- html. enabled = true
39
- }
40
- }
41
34
dependencies {
42
35
compileOnly ' net.jcip:jcip-annotations:1.0'
43
- compileOnly " com.github.spotbugs:spotbugs-annotations:${ VER_SPOTBUGS } "
36
+ compileOnly " com.github.spotbugs:spotbugs-annotations:${ spotbugs.toolVersion.get() } "
44
37
compileOnly " com.google.code.findbugs:jsr305:${ VER_JSR_305} "
45
38
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
12
12
// https://github.com/gradle-nexus/publish-plugin/releases
13
13
id ' io.github.gradle-nexus.publish-plugin' version ' 1.3.0' apply false
14
14
// https://github.com/spotbugs/spotbugs-gradle-plugin/releases
15
- id ' com.github.spotbugs' version ' 5.2.1 ' apply false
15
+ id ' com.github.spotbugs' version ' 5.2.3 ' apply false
16
16
// https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
17
17
id ' com.diffplug.spotless-changelog' version ' 3.0.2' apply false
18
18
// https://github.com/diffplug/goomph/blob/main/CHANGES.md
You can’t perform that action at this time.
0 commit comments