This is an automated email from the ASF dual-hosted git repository.

ppkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-xml.git

commit f3e756b326f03272f8945ee1012a08e7e8887606
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sun Aug 30 20:36:17 2026 +0200

    Exclude generated Gradle output from Checkstyle
    
    A repository-root checkstyle run sweeps android-tests/build and fails
    on generated files; filter the directory out before execution.
    
    Assisted-By: Claude Fable 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01MbfpcsKig16HfSe6jGhcvh
---
 src/conf/checkstyle.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index 0047bc8..48445c5 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -20,6 +20,10 @@ limitations under the License.
     "https://checkstyle.org/dtds/configuration_1_3.dtd";>
 <module name="Checker">
   <property name="localeLanguage" value="en" />
+  <!-- Generated Gradle output; a repository-root run would otherwise flag its 
files. -->
+  <module name="BeforeExecutionExclusionFileFilter">
+    <property name="fileNamePattern" 
value=".*[/\\]android-tests[/\\]build[/\\].*" />
+  </module>
   <module name="FileTabCharacter">
     <property name="fileExtensions" value="java,xml" />
   </module>

Reply via email to