You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2019/11/21 22:57:54 UTC

[kafka] branch 2.4 updated: MINOR: Rat should ignore generated directories (#7729)

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

ijuma pushed a commit to branch 2.4
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.4 by this push:
     new 0f93819  MINOR: Rat should ignore generated directories (#7729)
0f93819 is described below

commit 0f9381976a34e845df38005cd5402494d63aa5bf
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Thu Nov 21 10:51:55 2019 -0800

    MINOR: Rat should ignore generated directories (#7729)
    
    For some reason, PR builds are failing due to the `rat` license
    check even though it should ignore files included in `.gitignore`.
    
    Reviewers: Jason Gustafson <ja...@confluent.io>
---
 build.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index c55a2af..121d1eb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -136,7 +136,8 @@ if (file('.git').exists()) {
         '**/id_rsa.pub',
         'checkstyle/suppressions.xml',
         'streams/quickstart/java/src/test/resources/projects/basic/goal.txt',
-        'streams/streams-scala/logs/*'
+        'streams/streams-scala/logs/*',
+        '**/generated/**'
     ])
   }
 }