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

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 77ad106  Make .gitignore rules work correctly with rat.
77ad106 is described below

commit 77ad10605c44df10e3bbff68caf0a196efb9d465
Author: Udi Meiri <eh...@google.com>
AuthorDate: Wed Aug 15 17:14:05 2018 -0700

    Make .gitignore rules work correctly with rat.
---
 build.gradle | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build.gradle b/build.gradle
index 2eb93a3..55fa3b2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -110,6 +110,10 @@ if (isCIBuild) {
 apply plugin: "org.nosphere.apache.rat"
 
 rat {
+  // Set input directory to that of the root project instead of the CWD. This
+  // makes .gitignore rules (added below) work properly.
+  inputDir = project.rootDir
+
   def exclusions = [
     // Ignore files we track but do not distribute
     ".github/**/*",

Reply via email to