Remove not needed Checkstyle stuff

This commit is contained in:
wb9688 2020-05-18 11:44:47 +02:00
parent 93ba7510e1
commit 8968081e77

View file

@ -117,15 +117,6 @@ task runCheckstyle(type: Checkstyle) {
} }
} }
runCheckstyle.doLast {
reports.all { report ->
def outputFile = report.destination
if (outputFile.exists() && outputFile.text.contains("severity=\"error\"")) {
throw new GradleException("There were checkstyle errors! For more info check $outputFile")
}
}
}
configurations { configurations {
ktlint ktlint
} }