From ddbdef489eb7fe8d2ba940a82a3b8f693430f079 Mon Sep 17 00:00:00 2001 From: Raveen Savinda Rathnayake Date: Mon, 13 Nov 2017 12:21:07 +0530 Subject: [PATCH] Added chckstyles to gradle --- build.gradle | 12 + config/checkstyle/checkstyle.xml | 413 +++++++++++++++++++++++++++++++ 2 files changed, 425 insertions(+) create mode 100644 config/checkstyle/checkstyle.xml diff --git a/build.gradle b/build.gradle index c10eacc..549587e 100644 --- a/build.gradle +++ b/build.gradle @@ -59,6 +59,18 @@ dependencies { antlr "org.antlr:antlr4:4.6" } +//apply plugin: 'checkstyle' +//checkstyle { +// toolVersion '7.8.1' +// configFile file("config/checkstyle/checkstyle.xml") +//} +//checkstyleMain { +// source ='src/main/java' +//} +//checkstyleTest { +// source ='src/test/java' +//} + apply plugin: "jacoco" jacocoTestReport { reports { diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml new file mode 100644 index 0000000..73c98f7 --- /dev/null +++ b/config/checkstyle/checkstyle.xml @@ -0,0 +1,413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +