From abce3285ee1e5a0e309aaaa41e6117735df7f2dd Mon Sep 17 00:00:00 2001 From: dgelessus <dgelessus@users.noreply.github.com> Date: Tue, 29 Mar 2022 15:42:55 +0200 Subject: [PATCH] Remove use of deprecated findbugs Gradle plugin There is a SpotBugs plugin that can be used as a replacement. Here it's probably not worth it though - the build had the findbugs task disabled by default and failures ignored, so apparently nobody actually cares about the FindBugs results... --- build.gradle | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/build.gradle b/build.gradle index 816b04c..8573a8f 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,6 @@ plugins { id 'eclipse' id 'maven' id 'jacoco' - id 'findbugs' id "de.undercouch.download" version "3.4.3" } @@ -99,19 +98,6 @@ task jacocoIntegrationTestReport(type: JacocoReport) { executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec") } -tasks.withType(FindBugs) { - // disable findbugs by default - // in order to run findbugs type 'gradle build findbugsMain findbugsTest' - task -> enabled = gradle.startParameter.taskNames.contains(task.name) - - reports { - xml.enabled = false - html.enabled = true - } - - ignoreFailures = true -} - task createJar(type: Jar, dependsOn: build){ archiveName = 'TLC4B.jar' from sourceSets.main.output -- GitLab