summaryrefslogtreecommitdiffstats
path: root/gradle/check.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/check.gradle')
-rw-r--r--gradle/check.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/gradle/check.gradle b/gradle/check.gradle
new file mode 100644
index 0000000..78f8180
--- /dev/null
+++ b/gradle/check.gradle
@@ -0,0 +1,25 @@
+// Checkstyle
+// apply plugin: 'checkstyle'
+// checkstyle {
+// ignoreFailures = true
+// configFile = rootProject.file('codequality/checkstyle.xml')
+// }
+
+// FindBugs
+apply plugin: 'findbugs'
+findbugs {
+ ignoreFailures = true
+}
+findbugsTest.enabled = false
+
+// PMD
+// apply plugin: 'pmd'
+// tasks.withType(Pmd) { reports.html.enabled true }
+
+apply plugin: 'cobertura'
+cobertura {
+ sourceDirs = sourceSets.main.java.srcDirs
+ format = 'html'
+ includes = ['**/*.java', '**/*.groovy']
+ excludes = []
+}