Skip to content

Commit

Permalink
build: remove checkstyle (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Jan 3, 2024
1 parent 608e67d commit cdf88da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 363 deletions.
31 changes: 1 addition & 30 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ plugins {
id 'org.asciidoctor.jvm.convert'
}

apply plugin: 'checkstyle'

group 'com.crowdin'
version '3.15.0'

Expand Down Expand Up @@ -133,35 +131,8 @@ spotbugsTest {
} as Closure<NamedDomainObjectContainer<? extends SpotBugsReport>>))
}

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) {
Expand Down
333 changes: 0 additions & 333 deletions config/checkstyle/checkstyle.xml

This file was deleted.

0 comments on commit cdf88da

Please sign in to comment.