From 8968081e7744a2a5053aaa34ee4884870ca8fb7f Mon Sep 17 00:00:00 2001 From: wb9688 Date: Mon, 18 May 2020 11:44:47 +0200 Subject: [PATCH] Remove not needed Checkstyle stuff --- app/build.gradle | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 95ab1144b..26a22f7a3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { ktlint }