From 1dddec9d1abb420468667ac5de1b4c97543c7057 Mon Sep 17 00:00:00 2001 From: Kristof Jozsa Date: Fri, 4 Oct 2024 10:47:03 +0200 Subject: [PATCH] exclude avro sources from checkstyle --- build.gradle | 2 +- config/checkstyle/checkstyle.xml | 186 ++++++++++++------------- fineract-avro-schemas/build.gradle.kts | 4 + 3 files changed, 98 insertions(+), 94 deletions(-) diff --git a/build.gradle b/build.gradle index 5cbeed70171..47f1ee34093 100644 --- a/build.gradle +++ b/build.gradle @@ -377,7 +377,7 @@ configure(project.fineractJavaProjects) { "-Xlint:overloads", "-Xlint:overrides", "-Xlint:path", - "-Xlint:processing", + "-Xlint:-processing", "-Xlint:removal", "-Xlint:requires-automatic", "-Xlint:requires-transitive-automatic", diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 9634f88e778..d4fac8fa5d3 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -20,8 +20,8 @@ --> + "-//Puppy Crawl//DTD Check Configuration 1.3//EN" + "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> @@ -50,21 +50,21 @@ - + - - + value="Parameter name ''{0}'' must match pattern ''{1}''."/> + + - - - - + + + + - + @@ -74,12 +74,12 @@ - + - - + + @@ -96,29 +96,29 @@ - - - - + + + + - - - + + + - + - - + + + value="Type name ''{0}'' must match pattern ''{1}''."/> - + + value="Method type name ''{0}'' must match pattern ''{1}''."/> @@ -129,14 +129,14 @@ + value="Package name ''{0}'' must match pattern ''{1}''."/> - + @@ -145,78 +145,78 @@ - - - - - - + + + + + + - + - - - + value="GenericWhitespace ''{0}'' is followed by whitespace."/> + + + - + + value="Method name ''{0}'' must match pattern ''{1}''."/> - + + value="Class type name ''{0}'' must match pattern ''{1}''."/> - - + + - + value="WhitespaceAround: ''{0}'' is not followed by whitespace."/> + + value="Member name ''{0}'' must match pattern ''{1}''."/> - + - + + value="Local variable name ''{0}'' must match pattern ''{1}''."/> - + + + + + + + < ! - - Do NOT 'scope' this one; any JavaDoc (public/protected/private) IFF present, should be style checked. - - > + + + + + + + + + + < ! - - TODO Enable proper JavaDoc paragraphs (requires removing /** from all license headers) - - > + + + + -->