You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by ad...@apache.org on 2026/07/01 15:03:20 UTC

(polaris) branch main updated: Rat plugin: exclude .agents and .claude folders (#4947)

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

adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new ab19e1423b Rat plugin: exclude .agents and .claude folders (#4947)
ab19e1423b is described below

commit ab19e1423bb905eff84c16aeff962b14ae5f3b54
Author: Alexandre Dutra <ad...@apache.org>
AuthorDate: Wed Jul 1 17:03:15 2026 +0200

    Rat plugin: exclude .agents and .claude folders (#4947)
---
 build.gradle.kts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build.gradle.kts b/build.gradle.kts
index 66031e0ef7..9463e12808 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -94,6 +94,10 @@ tasks.named<RatTask>("rat").configure {
   excludes.add(".git")
   excludes.add(".github/pull_request_template.md")
 
+  // AI agents
+  excludes.add(".claude/**")
+  excludes.add(".agents/**")
+
   // Misc build artifacts
   excludes.add(".java-version")
   excludes.add("**/.keep")