groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject incubator-groovy git commit: upgrade to rat plugin 0.1.3
Date Mon, 29 Jun 2015 13:00:17 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X b545d64f1 -> b53ce4abd


upgrade to rat plugin 0.1.3


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

Branch: refs/heads/GROOVY_2_4_X
Commit: b53ce4abd437142ab4a8db9ba250c922bf43d874
Parents: b545d64
Author: paulk <paulk@asert.com.au>
Authored: Mon Jun 29 22:58:18 2015 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Mon Jun 29 23:00:00 2015 +1000

----------------------------------------------------------------------
 build.gradle          |  2 +-
 gradle/quality.gradle | 21 ++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/b53ce4ab/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 3c2e474..951c834 100644
--- a/build.gradle
+++ b/build.gradle
@@ -38,7 +38,7 @@ buildscript {
         classpath 'me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1'
         //classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.1.1'
         //classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
-        classpath "gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.1.2"
+        classpath "gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.1.3"
     }
 }
 

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/b53ce4ab/gradle/quality.gradle
----------------------------------------------------------------------
diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index 8bb678a..f773894 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -138,22 +138,21 @@ allprojects {
             html.enabled = true
         }
     }
-
+}
+subprojects { sp ->
     rat {
-        // Input directory, defaults to the project's root directory
-        inputDir = project.file( 'src' )
-
-        // XML and HTML reports directory, defaults to 'build/reports/rat'
-        reportDir = project.file( "$buildDir/reports/rat" )
-
-        // List of exclude directives, defaults to none
-        excludes = [ '**/target/**', '**/.gradle/**', '**/assets/**', '**/*.adoc' ]
-
-        // Fail the build on rat errors, defaults to true
+        inputDir = sp.buildDir.absolutePath
+        excludes = [ 'target/**', '.gradle/**', '**/assets/**' ]
         failOnError = false
     }
 }
 
+rat {
+    excludes = [ 'subprojects/**', 'benchmark/**', 'config/**', '**/wrapper/**', '**/target/**',
'licenses/**', 'gradlew*',
+                 '**/*.ipr',  '**/*.iml', '**/*.iws', '**/.gradle/**', '**/assets/**', '**/*.adoc',
'**/*.gif', '**/*.png', '**/*.icns' ]
+    failOnError = false
+}
+
 apply from: 'gradle/jacoco/jacoco.gradle'
 // Temporarily disabled because of conflict
 //apply from: 'gradle/binarycompatibility.gradle'


Mime
View raw message