diff --git a/build.gradle b/build.gradle index 1c2006e4bed..67623e0c88f 100644 --- a/build.gradle +++ b/build.gradle @@ -392,9 +392,11 @@ checkstyle { // do not use other packages for checkstyle, excluding gen(erated) sources checkstyleMain.source = "src/main/java" toolVersion = '8.0' - ignoreFailures = true } +checkstyleMain.shouldRunAfter test +checkstyleTest.shouldRunAfter test + task release(dependsOn: ["media", "releaseJar"]) { group = 'JabRef - Release' description 'Creates a release for all target platforms.'