You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/01/24 16:00:40 UTC

[groovy] branch GROOVY_2_5_X updated: bump rat plugin version

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

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new 5f5ef82  bump rat plugin version
5f5ef82 is described below

commit 5f5ef8259ad656b5491acebcbbb2d5e9d6c7dc17
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Jan 25 02:00:26 2020 +1000

    bump rat plugin version
---
 build.gradle          | 2 +-
 gradle/quality.gradle | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index a37f613..be8bd20 100644
--- a/build.gradle
+++ b/build.gradle
@@ -40,7 +40,7 @@ buildscript {
         classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.3"
         classpath 'me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1'
         //classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
-        classpath "gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.1.3"
+        classpath "org.nosphere.apache:creadur-rat-gradle:0.6.0"
         classpath "gradle.plugin.com.github.jk1:gradle-license-report:0.3.2"
         if (JavaVersion.current() >= JavaVersion.VERSION_1_8) {
             classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.4"
diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index 8184668..30abab5 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -175,7 +175,7 @@ subprojects { sp ->
             break
     }
     rat {
-        inputDir = sp.projectDir.absolutePath
+        inputDir = sp.projectDir
         excludes = [ 'target/**', '.gradle/**', '*.iml', '.classpath', '.project', '.settings/**', 'bin/**' , *extras]
     }
 }
@@ -184,12 +184,13 @@ rat {
     excludes = [ 'subprojects/**', // covered above
                  'benchmark/**', // benchmarking files excluded from src zip
                  'config/**',
+                 'src/install/**', // CI file excluded from src zip
                  'src/test/org/codehaus/groovy/ast/LineColumnCheck.txt', // test file
                  'security/groovykeys', // excluded from src zip
                  '**/.gradle/**', '**/wrapper/**', 'gradlew*',  // gradle wrapper files excluded from src zip
                  'gradle.properties',  // artifactory release plugin removes header when bumping version
-                 '**/target/**', 'licenses/**', 'notices/**',
-                 'out/**', '*.ipr',  '**/*.iml', '*.iws', // Intellij files
+                 '**/target/**', '**/build/**', 'licenses/**', 'notices/**',
+                 'out/**', '*.ipr',  '**/*.iml', '*.iws', '.idea/**', // Intellij files
                  '**/style.css', // MIT license as per NOTICE/LICENSE files
                  '**/jquery-2.1.1.min.js', // MIT license as per NOTICE/LICENSE files
                  '.classpath', '.project', '.settings/**', 'bin/**', // Eclipse files