groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: print used exclusions when running Rat
Date Mon, 08 Jun 2015 21:15:57 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/master 698ebbdec -> ee779e34a


print used exclusions when running Rat


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/ee779e34
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/ee779e34
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/ee779e34

Branch: refs/heads/master
Commit: ee779e34a42442dc75ebd0614399c443e3732af5
Parents: 698ebbd
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Mon Jun 8 23:15:39 2015 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Mon Jun 8 23:15:39 2015 +0200

----------------------------------------------------------------------
 gradle/quality.gradle | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ee779e34/gradle/quality.gradle
----------------------------------------------------------------------
diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index 2d0b365..29e115d 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -149,12 +149,14 @@ dependencies {
 
 // Standalone rat task - suitable for manually checking license info
 // TODO replace with rat gradle plugin to allow per subproject checking and better exclusion/license
specification
+String ratExcludesFilePath = 'config/licensing/rat-excludes.txt'
 task rat(type: JavaExec) {
     main = 'org.apache.rat.Report'
     classpath = files(configurations.rat)
-    args = ['-E', 'config/licensing/rat-excludes.txt', '--dir', '.']
+    args = ['-E', ratExcludesFilePath, '--dir', '.']
     doFirst {
-        println "Runs Apache RAT. Exclusions are defined in config/licensing/rat-excludes.txt
file"
+        println "Runing Apache RAT. Exclusions are defined in: $ratExcludesFilePath"
+        println "Using the following exclusions:\n${new File(ratExcludesFilePath).text}"
     }
 }
 


Mime
View raw message