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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -