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 2019/09/27 10:08:52 UTC
[groovy] branch master updated: add missing license headers and
tweak rat excludes
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new ab949c5 add missing license headers and tweak rat excludes
ab949c5 is described below
commit ab949c5eea2e2a38f825c05599a334d4b9e5282e
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Sep 27 20:08:40 2019 +1000
add missing license headers and tweak rat excludes
---
gradle/quality.gradle | 3 ++-
.../org/codehaus/groovy/ast/tools/Antlr4Utils.java | 18 ++++++++++++++++++
.../groovysh/completion/InvokerParsingTest.groovy | 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/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;
diff --git a/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/completion/InvokerParsingTest.groovy b/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/completion/InvokerParsingTest.groovy
index 15d9807..52cb587 100644
--- a/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/completion/InvokerParsingTest.groovy
+++ b/subprojects/groovy-groovysh/src/test/groovy/org/apache/groovy/groovysh/completion/InvokerParsingTest.groovy
@@ -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.apache.groovy.groovysh.completion
import groovy.test.GroovyTestCase