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:59:04 UTC

[kafka] branch 2.1 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.1
in repository https://gitbox.apache.org/repos/asf/kafka.git


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

commit 87b633df4d1ed6a80904e22e184cac3a94f82820
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 e33c0f7..dbd6ac3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -134,7 +134,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/**'
     ])
   }
 }