Merge pull request #3493 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.0.1

Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.2.5 to 6.0.1
This commit is contained in:
Andy Scherzinger 2023-12-04 10:05:59 +01:00 committed by GitHub
commit aaf8c6b310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -24,6 +24,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import com.github.spotbugs.snom.SpotBugsTask
import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
@ -322,8 +324,8 @@ task installGitHooks(type: Copy, group: "development") {
spotbugs {
ignoreFailures = true // should continue checking
effort = "max"
reportLevel = "medium"
effort = Effort.MAX
reportLevel = Confidence.valueOf('MEDIUM')
}
tasks.withType(SpotBugsTask) { task ->

View file

@ -37,7 +37,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:8.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
classpath "org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}"
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.5'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.1'
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.4"
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.6.1"