From 83028ff1b85f3f637482983c23da1be8a259116f Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Wed, 3 Jan 2024 15:50:20 +0200 Subject: [PATCH] build: remove checkstyle --- build.gradle | 31 +-- config/checkstyle/checkstyle.xml | 333 ------------------------------- 2 files changed, 1 insertion(+), 363 deletions(-) delete mode 100644 config/checkstyle/checkstyle.xml diff --git a/build.gradle b/build.gradle index 7f343cc56..aa15a749c 100755 --- a/build.gradle +++ b/build.gradle @@ -9,8 +9,6 @@ plugins { id 'org.asciidoctor.jvm.convert' } -apply plugin: 'checkstyle' - group 'com.crowdin' version '3.15.0' @@ -133,35 +131,8 @@ spotbugsTest { } as Closure>)) } -checkstyle { - toolVersion '9.3' - configFile file("config/checkstyle/checkstyle.xml") -} -checkstyleMain { - onlyIf {project.hasProperty('staticAnalysisMarker')} - source ='src/main/java' - reports(({ - html { - required = true - destination = file("$buildDir/reports/staticAnalysis/checkstyle-main.html") - } - xml.required = false - })) -} -checkstyleTest { - onlyIf {project.hasProperty('staticAnalysisMarker')} - source ='src/test/java' - reports(({ - html { - required = true - destination = file("$buildDir/reports/staticAnalysis/checkstyle-test.html") - } - xml.required = false - })) -} - task staticAnalysis(type: GradleBuild) { - tasks = ['checkstyleMain', 'checkstyleTest', 'spotbugsMain', 'spotbugsTest'] + tasks = ['spotbugsMain', 'spotbugsTest'] } task generateManpageAsciiDoc(type: JavaExec) { diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml deleted file mode 100644 index 92abcc59f..000000000 --- a/config/checkstyle/checkstyle.xml +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -