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 55// - sonatypeUsername: Maven Central credential used by Nexus publishing.
66// - sonatypePassword: Maven Central credential used by Nexus publishing.
77
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+
815buildscript {
916 // Typically, only edit those two:
1017 val objectboxVersionNumber = " 3.6.1" // without "-SNAPSHOT", e.g. "2.5.0" or "2.4.0-RC"
@@ -48,9 +55,6 @@ buildscript {
4855 dependencies {
4956 classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion " )
5057 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" )
5458 }
5559}
5660
Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ dependencies {
2020 api ' com.google.code.findbugs:jsr305:3.0.2'
2121
2222 // 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 '
2424}
2525
2626spotbugs {
2727 ignoreFailures = true
28+ showStackTraces = true
2829 excludeFilter = file(" spotbugs-exclude.xml" )
2930}
3031
You can’t perform that action at this time.
0 commit comments