Refined Rat excludes
diff --git a/build.gradle b/build.gradle
index 1a48037..34dab49 100644
--- a/build.gradle
+++ b/build.gradle
@@ -118,17 +118,7 @@
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")
}
}
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