diff --git a/build.gradle b/build.gradle index 830dfca7..d60ad175 100644 --- a/build.gradle +++ b/build.gradle @@ -4,8 +4,11 @@ plugins { id 'java' id "io.freefair.lombok" version "5.1.0" id 'jacoco' + id 'checkstyle' } +apply plugin: 'checkstyle' + group = 'uk.nhs.digital.nhsconnect' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml new file mode 100644 index 00000000..611e7e4b --- /dev/null +++ b/config/checkstyle/checkstyle.xml @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml new file mode 100644 index 00000000..68392ab7 --- /dev/null +++ b/config/checkstyle/suppressions.xml @@ -0,0 +1,9 @@ + + + + + + +