Repository: incubator-freemarker-online-tester
Updated Branches:
  refs/heads/master cf21526ae -> db05d7c89


Refined Rat excludes


Project: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/commit/db05d7c8
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/tree/db05d7c8
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/diff/db05d7c8

Branch: refs/heads/master
Commit: db05d7c892f1b8774e007fbf045145ab3bbe86a9
Parents: cf21526
Author: ddekany <ddek...@apache.org>
Authored: Fri Feb 9 00:43:55 2018 +0100
Committer: ddekany <ddek...@apache.org>
Committed: Fri Feb 9 00:43:55 2018 +0100

----------------------------------------------------------------------
 build.gradle | 12 +-----------
 rat-excludes | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/blob/db05d7c8/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 1a48037..34dab49 100644
--- a/build.gradle
+++ b/build.gradle
@@ -118,17 +118,7 @@ task rat {
                 name: 'ratReport', classname: 'org.apache.rat.anttasks.Report',
                 classpath: configurations.rat.asPath)
         ant.ratReport(reportFile: "build/rat-report.txt") {
-            fileset(dir: "") {
-                exclude(name: "README.md")
-                exclude(name: "gradlew.bat")
-                exclude(name: "gradle/**")
-                exclude(name: "build/**")
-                exclude(name: "bin/**")
-                exclude(name: "out/**")
-                exclude(name: "ide-dependencies/**")
-                exclude(name: ".*")
-                exclude(name: ".*/**")
-            }
+            fileset(dir: "", excludesfile: "rat-excludes")
         }
     }
     

http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/blob/db05d7c8/rat-excludes
----------------------------------------------------------------------
diff --git a/rat-excludes b/rat-excludes
new file mode 100644
index 0000000..825c857
--- /dev/null
+++ b/rat-excludes
@@ -0,0 +1,58 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# In src/:
+# --------
+
+# No excludes there yet
+
+# Tooling/IDE generated files:
+# ----------------------------
+
+ide-dependencies/**
+.git/**
+.ivy/**
+.bin/**
+bin/**
+build/**
+.build/**
+out/**
+.out/**
+target/**
+.settings/**
+.classpath
+.project
+.settings
+.idea/**
+*.iml
+*.iws
+*.ipr
+.idea_modules/**
+.out/**
+.gradle/**
+gradle/**
+.DS_Store*
+.AppleDouble
+.LSOverride
+.directory
+.Trash*
+
+# Known files that need no license note:
+# --------------------------------------
+
+README.md
+gradlew.bat
\ No newline at end of file

Reply via email to