File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 5
5
// - sonatypeUsername: Maven Central credential used by Nexus publishing.
6
6
// - sonatypePassword: Maven Central credential used by Nexus publishing.
7
7
8
+ plugins {
9
+ // https://github.com/spotbugs/spotbugs-gradle-plugin/releases
10
+ id(" com.github.spotbugs" ) version " 5.0.14" apply false
11
+ // https://github.com/gradle-nexus/publish-plugin/releases
12
+ id(" io.github.gradle-nexus.publish-plugin" ) version " 1.1.0"
13
+ }
14
+
8
15
buildscript {
9
16
// Typically, only edit those two:
10
17
val objectboxVersionNumber = " 3.6.1" // without "-SNAPSHOT", e.g. "2.5.0" or "2.4.0-RC"
@@ -48,9 +55,6 @@ buildscript {
48
55
dependencies {
49
56
classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion " )
50
57
classpath(" org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion " )
51
- // https://github.com/spotbugs/spotbugs-gradle-plugin/releases
52
- classpath(" gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.0" )
53
- classpath(" io.github.gradle-nexus:publish-plugin:1.1.0" )
54
58
}
55
59
}
56
60
Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ dependencies {
20
20
api ' com.google.code.findbugs:jsr305:3.0.2'
21
21
22
22
// https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md
23
- compileOnly ' com.github.spotbugs:spotbugs-annotations:4.2.2 '
23
+ compileOnly ' com.github.spotbugs:spotbugs-annotations:4.7.3 '
24
24
}
25
25
26
26
spotbugs {
27
27
ignoreFailures = true
28
+ showStackTraces = true
28
29
excludeFilter = file(" spotbugs-exclude.xml" )
29
30
}
30
31
You can’t perform that action at this time.
0 commit comments