groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] branch GROOVY_3_0_X updated: add missing license headers and tweak rat excludes (port to Groovy3)
Date Fri, 27 Sep 2019 10:11:45 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new 12ef19a  add missing license headers and tweak rat excludes (port to Groovy3)
12ef19a is described below

commit 12ef19a2014185789120bccfd62a0e64a894de53
Author: Paul King <paulk@asert.com.au>
AuthorDate: Fri Sep 27 20:08:40 2019 +1000

    add missing license headers and tweak rat excludes (port to Groovy3)
---
 gradle/quality.gradle                                  |  3 ++-
 .../org/codehaus/groovy/ast/tools/Antlr2Utils.java     | 18 ++++++++++++++++++
 .../org/codehaus/groovy/ast/tools/Antlr4Utils.java     | 18 ++++++++++++++++++
 3 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index 9407920..a506f0d 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -176,6 +176,7 @@ subprojects { sp ->
 }
 
 rat {
+    inputDir = projectDir.absolutePath
     excludes = [ 'subprojects/**', // covered above
                  'benchmark/**', // benchmarking files excluded from src zip
                  'config/**',
@@ -185,7 +186,7 @@ rat {
                  '**/.gradle/**', '**/wrapper/**', 'gradlew*',  // gradle wrapper files excluded
from src zip
                  'gradle.properties',  // artifactory release plugin removes header when
bumping version
                  '**/target/**', '**/build/**', 'licenses/**', 'notices/**',
-                 'out/**', '*.ipr',  '**/*.iml', '*.iws', // Intellij files
+                 '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
diff --git a/src/main/java/org/codehaus/groovy/ast/tools/Antlr2Utils.java b/src/main/java/org/codehaus/groovy/ast/tools/Antlr2Utils.java
index 0d67dcc..5e04372 100644
--- a/src/main/java/org/codehaus/groovy/ast/tools/Antlr2Utils.java
+++ b/src/main/java/org/codehaus/groovy/ast/tools/Antlr2Utils.java
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 package org.codehaus.groovy.ast.tools;
 
 import antlr.RecognitionException;
diff --git a/src/main/java/org/codehaus/groovy/ast/tools/Antlr4Utils.java b/src/main/java/org/codehaus/groovy/ast/tools/Antlr4Utils.java
index 18e8aae..05395ee 100644
--- a/src/main/java/org/codehaus/groovy/ast/tools/Antlr4Utils.java
+++ b/src/main/java/org/codehaus/groovy/ast/tools/Antlr4Utils.java
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 package org.codehaus.groovy.ast.tools;
 
 import org.apache.groovy.parser.antlr4.Antlr4ParserPlugin;


Mime
View raw message