From eb5896e528922dcb0323c12716d8a8bf402f7156 Mon Sep 17 00:00:00 2001 From: Linus Dietz Date: Fri, 14 Jul 2017 01:47:15 +0200 Subject: [PATCH 1/2] run checkstyle after test --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 1c2006e4bed..6dc61c80575 100644 --- a/build.gradle +++ b/build.gradle @@ -392,9 +392,10 @@ 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 + task release(dependsOn: ["media", "releaseJar"]) { group = 'JabRef - Release' description 'Creates a release for all target platforms.' From 4136875a0af6d4c58bb0c939d386ce61014a36f8 Mon Sep 17 00:00:00 2001 From: Linus Dietz Date: Fri, 14 Jul 2017 00:24:49 +0200 Subject: [PATCH 2/2] run checkstyleTest after test --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 6dc61c80575..67623e0c88f 100644 --- a/build.gradle +++ b/build.gradle @@ -395,6 +395,7 @@ checkstyle { } checkstyleMain.shouldRunAfter test +checkstyleTest.shouldRunAfter test task release(dependsOn: ["media", "releaseJar"]) { group = 'JabRef - Release'