From 56a9533a205a54db3b85b358843ddb07a36207b8 Mon Sep 17 00:00:00 2001 From: Ola Hungerford Date: Fri, 12 Jul 2024 07:48:27 -0700 Subject: [PATCH] Replace headers with standard Apache License 2.0 header --- lang/java/gradle-plugin/build.gradle | 18 ++++++++++++++++++ .../config/codenarc/codenarc.groovy | 18 ++++++++++++++++++ .../avsc-from-external-jar/build.gradle | 18 ++++++++++++++++++ .../avsc-from-external-jar/settings.gradle | 18 ++++++++++++++++++ .../avsc-from-subproject/cat/build.gradle | 18 ++++++++++++++++++ .../avsc-from-subproject/schema/build.gradle | 18 ++++++++++++++++++ .../avsc-from-subproject/settings.gradle | 18 ++++++++++++++++++ .../examples/default-custom-types/build.gradle | 18 ++++++++++++++++++ .../default-custom-types/buildSrc/build.gradle | 18 ++++++++++++++++++ .../main/java/custom/AvroConventionPlugin.java | 18 ++++++++++++++++++ .../main/java/custom/TimeZoneConversion.java | 18 ++++++++++++++++++ .../main/java/custom/TimeZoneLogicalType.java | 18 ++++++++++++++++++ .../custom/TimeZoneLogicalTypeFactory.java | 18 ++++++++++++++++++ .../default-custom-types/settings.gradle | 18 ++++++++++++++++++ .../main/java/custom/TimeZoneConversion.java | 18 ++++++++++++++++++ .../main/java/custom/TimeZoneLogicalType.java | 18 ++++++++++++++++++ .../custom/TimeZoneLogicalTypeFactory.java | 18 ++++++++++++++++++ lang/java/gradle-plugin/settings.gradle | 18 ++++++++++++++++++ .../gradle/plugin/avro/AvroBasePlugin.java | 17 ++++++++++------- .../gradle/plugin/avro/AvroExtension.java | 17 ++++++++++------- .../gradle/plugin/avro/AvroPlugin.java | 17 ++++++++++------- .../gradle/plugin/avro/AvroUtils.java | 18 ++++++++++++++++++ .../gradle/plugin/avro/Constants.java | 17 ++++++++++------- .../plugin/avro/DefaultAvroExtension.java | 17 ++++++++++------- .../davidmc24/gradle/plugin/avro/Enums.java | 17 ++++++++++------- .../gradle/plugin/avro/FileExtensionSpec.java | 17 ++++++++++------- .../gradle/plugin/avro/FileState.java | 17 ++++++++++------- .../gradle/plugin/avro/FileUtils.java | 16 +++++++++------- .../gradle/plugin/avro/FilenameUtils.java | 16 +++++++++------- .../plugin/avro/GenerateAvroJavaTask.java | 17 ++++++++++------- .../plugin/avro/GenerateAvroProtocolTask.java | 17 ++++++++++------- .../plugin/avro/GenerateAvroSchemaTask.java | 15 +++++++++------ .../plugin/avro/GradleCompatibility.java | 15 +++++++++------ .../gradle/plugin/avro/GradleFeatures.java | 15 +++++++++------ .../gradle/plugin/avro/GradleVersions.java | 15 +++++++++------ .../davidmc24/gradle/plugin/avro/MapUtils.java | 17 ++++++++++------- .../gradle/plugin/avro/OutputDirTask.java | 17 ++++++++++------- .../gradle/plugin/avro/ProcessingState.java | 17 ++++++++++------- .../avro/ResolveAvroDependenciesTask.java | 18 ++++++++++++++++++ .../gradle/plugin/avro/SchemaResolver.java | 18 ++++++++++++++++++ .../gradle/plugin/avro/SetBuilder.java | 17 ++++++++++------- .../davidmc24/gradle/plugin/avro/Strings.java | 18 ++++++++++++++++++ .../gradle/plugin/avro/TypeState.java | 17 ++++++++++------- .../avro/AvroBasePluginFunctionalSpec.groovy | 15 +++++++++------ .../avro/AvroPluginFunctionalSpec.groovy | 15 +++++++++------ .../gradle/plugin/avro/AvroPluginSpec.groovy | 15 +++++++++------ .../gradle/plugin/avro/AvroUtilsSpec.groovy | 18 ++++++++++++++++++ .../BuildCacheSupportFunctionalSpec.groovy | 15 +++++++++------ .../avro/CustomConversionFunctionalSpec.groovy | 15 +++++++++------ .../DuplicateHandlingFunctionalSpec.groovy | 15 +++++++++------ .../plugin/avro/EncodingFunctionalSpec.groovy | 15 +++++++++------ .../avro/EnumHandlingFunctionalSpec.groovy | 15 +++++++++------ .../plugin/avro/ExamplesFunctionalSpec.groovy | 15 +++++++++------ .../gradle/plugin/avro/FunctionalSpec.groovy | 15 +++++++++------ ...nerateAvroProtocolTaskFunctionalSpec.groovy | 15 +++++++++------ .../plugin/avro/IntellijFunctionalSpec.groovy | 15 +++++++++------ ...KotlinDSLCompatibilityFunctionalSpec.groovy | 18 ++++++++++++++++++ .../plugin/avro/OptionsFunctionalSpec.groovy | 15 +++++++++------ ...veAvroDependenciesTaskFunctionalSpec.groovy | 18 ++++++++++++++++++ .../plugin/avro/SchemaResolverSpec.groovy | 18 ++++++++++++++++++ .../gradle/plugin/avro/StringsSpec.groovy | 18 ++++++++++++++++++ .../avro/test/custom/CommentGenerator.java | 18 ++++++++++++++++++ .../avro/test/custom/TimeZoneConversion.java | 15 +++++++++------ .../avro/test/custom/TimeZoneLogicalType.java | 15 +++++++++------ .../custom/TimeZoneLogicalTypeFactory.java | 15 +++++++++------ .../avro/test/custom/TimestampGenerator.java | 18 ++++++++++++++++++ .../src/main/java/project/SystemUtil.java | 18 ++++++++++++++++++ .../test/java/project/CLIComparisonTest.java | 18 ++++++++++++++++++ .../src/test/java/project/CLIUtil.java | 18 ++++++++++++++++++ .../test/java/project/RandomRecordTest.java | 18 ++++++++++++++++++ .../src/test/java/project/RecordTest.java | 18 ++++++++++++++++++ .../gradle-plugin/test-project/build.gradle | 18 ++++++++++++++++++ .../gradle-plugin/test-project/settings.gradle | 18 ++++++++++++++++++ .../src/main/java/project/SystemUtil.java | 18 ++++++++++++++++++ .../test/java/project/CLIComparisonTest.java | 18 ++++++++++++++++++ .../src/test/java/project/CLIUtil.java | 18 ++++++++++++++++++ .../test/java/project/RandomRecordTest.java | 18 ++++++++++++++++++ .../src/test/java/project/RecordTest.java | 18 ++++++++++++++++++ 78 files changed, 1086 insertions(+), 239 deletions(-) diff --git a/lang/java/gradle-plugin/build.gradle b/lang/java/gradle-plugin/build.gradle index 7b47e5048b5..065d48dec57 100644 --- a/lang/java/gradle-plugin/build.gradle +++ b/lang/java/gradle-plugin/build.gradle @@ -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 + * + * https://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. + */ + plugins { id "groovy" id "checkstyle" diff --git a/lang/java/gradle-plugin/config/codenarc/codenarc.groovy b/lang/java/gradle-plugin/config/codenarc/codenarc.groovy index 9265e6a8fe5..42ec2138c34 100644 --- a/lang/java/gradle-plugin/config/codenarc/codenarc.groovy +++ b/lang/java/gradle-plugin/config/codenarc/codenarc.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 + * + * https://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. + */ + ruleset { // rulesets/basic.xml diff --git a/lang/java/gradle-plugin/examples/avsc-from-external-jar/build.gradle b/lang/java/gradle-plugin/examples/avsc-from-external-jar/build.gradle index c7aafeeb146..3da808f73cf 100644 --- a/lang/java/gradle-plugin/examples/avsc-from-external-jar/build.gradle +++ b/lang/java/gradle-plugin/examples/avsc-from-external-jar/build.gradle @@ -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 + * + * https://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. + */ + plugins { id "com.github.davidmc24.gradle.plugin.avro" version "1.2.1" } diff --git a/lang/java/gradle-plugin/examples/avsc-from-external-jar/settings.gradle b/lang/java/gradle-plugin/examples/avsc-from-external-jar/settings.gradle index 731be1519c4..0109c75842e 100644 --- a/lang/java/gradle-plugin/examples/avsc-from-external-jar/settings.gradle +++ b/lang/java/gradle-plugin/examples/avsc-from-external-jar/settings.gradle @@ -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 + * + * https://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. + */ + pluginManagement { repositories { gradlePluginPortal() diff --git a/lang/java/gradle-plugin/examples/avsc-from-subproject/cat/build.gradle b/lang/java/gradle-plugin/examples/avsc-from-subproject/cat/build.gradle index 8984807202b..03dc3870e59 100644 --- a/lang/java/gradle-plugin/examples/avsc-from-subproject/cat/build.gradle +++ b/lang/java/gradle-plugin/examples/avsc-from-subproject/cat/build.gradle @@ -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 + * + * https://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. + */ + import java.util.zip.ZipFile plugins { diff --git a/lang/java/gradle-plugin/examples/avsc-from-subproject/schema/build.gradle b/lang/java/gradle-plugin/examples/avsc-from-subproject/schema/build.gradle index de7e12dcadd..880cae00330 100644 --- a/lang/java/gradle-plugin/examples/avsc-from-subproject/schema/build.gradle +++ b/lang/java/gradle-plugin/examples/avsc-from-subproject/schema/build.gradle @@ -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 + * + * https://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. + */ + plugins { id "com.github.davidmc24.gradle.plugin.avro" version "1.2.1" } diff --git a/lang/java/gradle-plugin/examples/avsc-from-subproject/settings.gradle b/lang/java/gradle-plugin/examples/avsc-from-subproject/settings.gradle index 2023d97da8e..8f2e3441f76 100644 --- a/lang/java/gradle-plugin/examples/avsc-from-subproject/settings.gradle +++ b/lang/java/gradle-plugin/examples/avsc-from-subproject/settings.gradle @@ -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 + * + * https://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. + */ + pluginManagement { repositories { gradlePluginPortal() diff --git a/lang/java/gradle-plugin/examples/default-custom-types/build.gradle b/lang/java/gradle-plugin/examples/default-custom-types/build.gradle index 8643d410fef..07c3dfc08ad 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/build.gradle +++ b/lang/java/gradle-plugin/examples/default-custom-types/build.gradle @@ -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 + * + * https://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. + */ + apply plugin: custom.AvroConventionPlugin repositories { diff --git a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/build.gradle b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/build.gradle index b55abe34eb0..b5d3f3dad5d 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/build.gradle +++ b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/build.gradle @@ -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 + * + * https://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. + */ + repositories { mavenCentral() } diff --git a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/AvroConventionPlugin.java b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/AvroConventionPlugin.java index 40734d866e7..4e0dd2f017e 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/AvroConventionPlugin.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/AvroConventionPlugin.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 + * + * https://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 custom; import org.gradle.api.Plugin; diff --git a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneConversion.java b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneConversion.java index bc89a6255aa..a483c6d3a60 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneConversion.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneConversion.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 + * + * https://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 custom; import java.util.TimeZone; diff --git a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalType.java b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalType.java index bf9361780cb..3fad7f3269e 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalType.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalType.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 + * + * https://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 custom; import org.apache.avro.LogicalType; diff --git a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalTypeFactory.java b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalTypeFactory.java index f5e16553be6..cdfe0dd1f04 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalTypeFactory.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/buildSrc/src/main/java/custom/TimeZoneLogicalTypeFactory.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 + * + * https://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 custom; import org.apache.avro.LogicalType; diff --git a/lang/java/gradle-plugin/examples/default-custom-types/settings.gradle b/lang/java/gradle-plugin/examples/default-custom-types/settings.gradle index beb40b1cbf2..e109d1d783c 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/settings.gradle +++ b/lang/java/gradle-plugin/examples/default-custom-types/settings.gradle @@ -1 +1,19 @@ +/* + * 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 + * + * https://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. + */ + rootProject.name = 'default-custom-types' diff --git a/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneConversion.java b/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneConversion.java index bc89a6255aa..a483c6d3a60 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneConversion.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneConversion.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 + * + * https://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 custom; import java.util.TimeZone; diff --git a/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalType.java b/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalType.java index bf9361780cb..3fad7f3269e 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalType.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalType.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 + * + * https://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 custom; import org.apache.avro.LogicalType; diff --git a/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalTypeFactory.java b/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalTypeFactory.java index f5e16553be6..cdfe0dd1f04 100644 --- a/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalTypeFactory.java +++ b/lang/java/gradle-plugin/examples/default-custom-types/src/main/java/custom/TimeZoneLogicalTypeFactory.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 + * + * https://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 custom; import org.apache.avro.LogicalType; diff --git a/lang/java/gradle-plugin/settings.gradle b/lang/java/gradle-plugin/settings.gradle index b3d572ee837..bafb1077fab 100644 --- a/lang/java/gradle-plugin/settings.gradle +++ b/lang/java/gradle-plugin/settings.gradle @@ -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 + * + * https://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. + */ + plugins { id "com.gradle.enterprise" version "3.3.4" } diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroBasePlugin.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroBasePlugin.java index e83971c116f..9731fcd1ad5 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroBasePlugin.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroBasePlugin.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2014-2019 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import org.gradle.api.Plugin; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroExtension.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroExtension.java index e0ef45cd707..0059d76c7ea 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroExtension.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroExtension.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2019 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import org.apache.avro.Conversion; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroPlugin.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroPlugin.java index bc288e24864..f6ee1ff3e4c 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroPlugin.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroPlugin.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2019 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroUtils.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroUtils.java index a753ffc7ab2..665f230f319 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroUtils.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/AvroUtils.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro; import java.util.ArrayList; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Constants.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Constants.java index 919ec35326a..4b85a356c41 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Constants.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Constants.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2015 Commerce Technologies, LLC. - * - * Licensed 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 +/* + * 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.util.Collections; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/DefaultAvroExtension.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/DefaultAvroExtension.java index 2182da4160b..ddebc23e31f 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/DefaultAvroExtension.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/DefaultAvroExtension.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2019 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.nio.charset.Charset; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Enums.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Enums.java index 252e7f3f6ad..983c609f9f4 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Enums.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Enums.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.util.Arrays; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileExtensionSpec.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileExtensionSpec.java index a9545a86d85..a8b13396dee 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileExtensionSpec.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileExtensionSpec.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileState.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileState.java index e65243ff889..560a48adefc 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileState.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileState.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileUtils.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileUtils.java index a7266ead0bc..aa3c2d03833 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileUtils.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FileUtils.java @@ -1,12 +1,13 @@ /* - * 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 + * 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 + * https://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, @@ -14,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FilenameUtils.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FilenameUtils.java index dae1e0c38b6..a3d0262dafe 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FilenameUtils.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/FilenameUtils.java @@ -1,12 +1,13 @@ /* - * 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 + * 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 + * https://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, @@ -14,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; /** diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroJavaTask.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroJavaTask.java index a9fe3796d24..05be0c1b947 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroJavaTask.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroJavaTask.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2019 Commerce Technologies, LLC. - * - * Licensed 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 +/* + * 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTask.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTask.java index 725a758ebda..d9a71ab2ce5 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTask.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTask.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2019 Commerce Technologies, LLC. - * - * Licensed 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 +/* + * 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroSchemaTask.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroSchemaTask.java index fe51733788b..fb6324d2df9 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroSchemaTask.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GenerateAvroSchemaTask.java @@ -1,11 +1,13 @@ /* - * Copyright © 2018-2019 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleCompatibility.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleCompatibility.java index c62c983246e..eae478e409e 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleCompatibility.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleCompatibility.java @@ -1,11 +1,13 @@ /* - * Copyright © 2019 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -14,6 +16,7 @@ * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleFeatures.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleFeatures.java index c918f962664..c26a4a87456 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleFeatures.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleFeatures.java @@ -1,11 +1,13 @@ /* - * Copyright © 2019 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -14,6 +16,7 @@ * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import org.gradle.util.GradleVersion; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleVersions.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleVersions.java index 42367748a10..d812b4d6753 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleVersions.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/GradleVersions.java @@ -1,11 +1,13 @@ /* - * Copyright © 2019 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -14,6 +16,7 @@ * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import org.gradle.util.GradleVersion; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/MapUtils.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/MapUtils.java index 70e75dc0eb8..392d54b466b 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/MapUtils.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/MapUtils.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.util.LinkedHashMap; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/OutputDirTask.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/OutputDirTask.java index 6eab997caca..2656532d4b6 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/OutputDirTask.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/OutputDirTask.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2019 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ProcessingState.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ProcessingState.java index 9d9f905243d..d7c6f5db96c 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ProcessingState.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ProcessingState.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTask.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTask.java index 9edd68d2644..a11d3ca78c1 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTask.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTask.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SchemaResolver.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SchemaResolver.java index 59f60def7ea..f94783f650e 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SchemaResolver.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SchemaResolver.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro; import java.io.File; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SetBuilder.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SetBuilder.java index 1d3202e9e5a..6b8a21a95e2 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SetBuilder.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/SetBuilder.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2013-2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.util.Collection; diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Strings.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Strings.java index 605c2944c49..ffb36adea89 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Strings.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/Strings.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro; /** diff --git a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/TypeState.java b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/TypeState.java index 9094029b2a2..8d8467f115b 100644 --- a/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/TypeState.java +++ b/lang/java/gradle-plugin/src/main/java/com/github/davidmc24/gradle/plugin/avro/TypeState.java @@ -1,11 +1,13 @@ -/** - * Copyright © 2015 Commerce Technologies, LLC. +/* + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro; import java.util.Set; diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroBasePluginFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroBasePluginFunctionalSpec.groovy index 241782a0edf..364db339346 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroBasePluginFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroBasePluginFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2018 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import com.github.davidmc24.gradle.plugin.avro.test.custom.CommentGenerator diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginFunctionalSpec.groovy index 5e7532e73af..7052aa14528 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2015-2017 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import static org.gradle.testkit.runner.TaskOutcome.FAILED diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginSpec.groovy index 28d3c515183..560f9d82ecb 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroPluginSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2013-2019 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import org.gradle.api.Project diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroUtilsSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroUtilsSpec.groovy index 993f8a245fc..b4597c3bcfd 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroUtilsSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/AvroUtilsSpec.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro import org.apache.avro.Protocol diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/BuildCacheSupportFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/BuildCacheSupportFunctionalSpec.groovy index bcf7b06c188..f3d40dffcf1 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/BuildCacheSupportFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/BuildCacheSupportFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2018 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import spock.lang.IgnoreIf diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/CustomConversionFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/CustomConversionFunctionalSpec.groovy index 94b9354db96..37f39632ed7 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/CustomConversionFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/CustomConversionFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2019 David M. Carr + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import static org.gradle.testkit.runner.TaskOutcome.SUCCESS diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/DuplicateHandlingFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/DuplicateHandlingFunctionalSpec.groovy index 03f396f0916..4804ffac9b8 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/DuplicateHandlingFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/DuplicateHandlingFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2015-2016 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import static org.gradle.testkit.runner.TaskOutcome.FAILED diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EncodingFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EncodingFunctionalSpec.groovy index 1716cda1465..788015c889f 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EncodingFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EncodingFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2015-2016 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import spock.lang.Unroll diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EnumHandlingFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EnumHandlingFunctionalSpec.groovy index 618d7f38a73..fbfb69cceba 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EnumHandlingFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/EnumHandlingFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2015-2016 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import static org.gradle.testkit.runner.TaskOutcome.SUCCESS diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ExamplesFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ExamplesFunctionalSpec.groovy index bc89ae18255..dd505d9ff06 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ExamplesFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ExamplesFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2018 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import static org.gradle.testkit.runner.TaskOutcome.SUCCESS diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/FunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/FunctionalSpec.groovy index 9585392c276..b7dd4eb0eee 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/FunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/FunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2015-2018 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import com.vdurmont.semver4j.Semver diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTaskFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTaskFunctionalSpec.groovy index ad7e17b118e..f71f6a5822d 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTaskFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/GenerateAvroProtocolTaskFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2019 David M. Carr + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import spock.lang.Subject diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/IntellijFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/IntellijFunctionalSpec.groovy index f6362148e19..49a828f63e3 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/IntellijFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/IntellijFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2018 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import org.gradle.testkit.runner.BuildResult diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/KotlinDSLCompatibilityFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/KotlinDSLCompatibilityFunctionalSpec.groovy index b0b612685d3..4a30ac6eb40 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/KotlinDSLCompatibilityFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/KotlinDSLCompatibilityFunctionalSpec.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro import static org.gradle.testkit.runner.TaskOutcome.SUCCESS diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/OptionsFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/OptionsFunctionalSpec.groovy index 4b9efc8dc8b..b7db1650c00 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/OptionsFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/OptionsFunctionalSpec.groovy @@ -1,11 +1,13 @@ /* - * Copyright © 2015-2016 Commerce Technologies, LLC. + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro import com.github.davidmc24.gradle.plugin.avro.test.custom.CommentGenerator diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTaskFunctionalSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTaskFunctionalSpec.groovy index b9204417c36..1c59941425b 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTaskFunctionalSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/ResolveAvroDependenciesTaskFunctionalSpec.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro import org.hamcrest.MatcherAssert diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/SchemaResolverSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/SchemaResolverSpec.groovy index 76b67152c66..a1762631e0a 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/SchemaResolverSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/SchemaResolverSpec.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro import org.gradle.api.GradleException diff --git a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/StringsSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/StringsSpec.groovy index a2e98f773ef..4c3cf37e607 100644 --- a/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/StringsSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/com/github/davidmc24/gradle/plugin/avro/StringsSpec.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro import spock.lang.Specification diff --git a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/CommentGenerator.java b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/CommentGenerator.java index 767763bebaf..9ba1bf4c2bc 100644 --- a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/CommentGenerator.java +++ b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/CommentGenerator.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro.test.custom; public class CommentGenerator { diff --git a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneConversion.java b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneConversion.java index c80922294a0..12f40a9e3e3 100644 --- a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneConversion.java +++ b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneConversion.java @@ -1,11 +1,13 @@ /* - * Copyright © 2019 David M. Carr + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro.test.custom; import java.util.TimeZone; diff --git a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalType.java b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalType.java index 72ba6e54419..3e8b371b385 100644 --- a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalType.java +++ b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalType.java @@ -1,11 +1,13 @@ /* - * Copyright © 2019 David M. Carr + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro.test.custom; import org.apache.avro.LogicalType; diff --git a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalTypeFactory.java b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalTypeFactory.java index 5e35dac20a8..23bfdbc492c 100644 --- a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalTypeFactory.java +++ b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimeZoneLogicalTypeFactory.java @@ -1,11 +1,13 @@ /* - * Copyright © 2019 David M. Carr + * 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 * - * Licensed 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 + * https://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, @@ -13,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.github.davidmc24.gradle.plugin.avro.test.custom; import org.apache.avro.LogicalType; diff --git a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimestampGenerator.java b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimestampGenerator.java index 1fa300bf6e4..bef601d4ee3 100644 --- a/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimestampGenerator.java +++ b/lang/java/gradle-plugin/src/test/java/com/github/davidmc24/gradle/plugin/avro/test/custom/TimestampGenerator.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 + * + * https://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 com.github.davidmc24.gradle.plugin.avro.test.custom; diff --git a/lang/java/gradle-plugin/test-project-kotlin/src/main/java/project/SystemUtil.java b/lang/java/gradle-plugin/test-project-kotlin/src/main/java/project/SystemUtil.java index 5a04d2b5c66..32382874e29 100644 --- a/lang/java/gradle-plugin/test-project-kotlin/src/main/java/project/SystemUtil.java +++ b/lang/java/gradle-plugin/test-project-kotlin/src/main/java/project/SystemUtil.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 + * + * https://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 project; import java.security.Permission; diff --git a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIComparisonTest.java b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIComparisonTest.java index 9990da98e10..51642152211 100644 --- a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIComparisonTest.java +++ b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIComparisonTest.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 + * + * https://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 project; import org.junit.jupiter.api.Assertions; diff --git a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIUtil.java b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIUtil.java index 326e33d2586..59d753e2a4d 100644 --- a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIUtil.java +++ b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/CLIUtil.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 + * + * https://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 project; import org.apache.avro.tool.Main; diff --git a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RandomRecordTest.java b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RandomRecordTest.java index 47b4d306393..782379e5f56 100644 --- a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RandomRecordTest.java +++ b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RandomRecordTest.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 + * + * https://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 project; import org.apache.avro.specific.SpecificRecord; diff --git a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RecordTest.java b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RecordTest.java index 8f979a6a7a5..f7175c4843b 100644 --- a/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RecordTest.java +++ b/lang/java/gradle-plugin/test-project-kotlin/src/test/java/project/RecordTest.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 + * + * https://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 project; import com.example.BuggyRecord; diff --git a/lang/java/gradle-plugin/test-project/build.gradle b/lang/java/gradle-plugin/test-project/build.gradle index e93d555e84f..6bdeb6a8130 100644 --- a/lang/java/gradle-plugin/test-project/build.gradle +++ b/lang/java/gradle-plugin/test-project/build.gradle @@ -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 + * + * https://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. + */ + plugins { id "idea" id "com.github.davidmc24.gradle.plugin.avro" version "1.2.0" diff --git a/lang/java/gradle-plugin/test-project/settings.gradle b/lang/java/gradle-plugin/test-project/settings.gradle index 1b5d1a8cdea..b74a53315d4 100644 --- a/lang/java/gradle-plugin/test-project/settings.gradle +++ b/lang/java/gradle-plugin/test-project/settings.gradle @@ -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 + * + * https://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. + */ + pluginManagement { repositories { gradlePluginPortal() diff --git a/lang/java/gradle-plugin/test-project/src/main/java/project/SystemUtil.java b/lang/java/gradle-plugin/test-project/src/main/java/project/SystemUtil.java index 5a04d2b5c66..32382874e29 100644 --- a/lang/java/gradle-plugin/test-project/src/main/java/project/SystemUtil.java +++ b/lang/java/gradle-plugin/test-project/src/main/java/project/SystemUtil.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 + * + * https://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 project; import java.security.Permission; diff --git a/lang/java/gradle-plugin/test-project/src/test/java/project/CLIComparisonTest.java b/lang/java/gradle-plugin/test-project/src/test/java/project/CLIComparisonTest.java index 9990da98e10..51642152211 100644 --- a/lang/java/gradle-plugin/test-project/src/test/java/project/CLIComparisonTest.java +++ b/lang/java/gradle-plugin/test-project/src/test/java/project/CLIComparisonTest.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 + * + * https://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 project; import org.junit.jupiter.api.Assertions; diff --git a/lang/java/gradle-plugin/test-project/src/test/java/project/CLIUtil.java b/lang/java/gradle-plugin/test-project/src/test/java/project/CLIUtil.java index 326e33d2586..59d753e2a4d 100644 --- a/lang/java/gradle-plugin/test-project/src/test/java/project/CLIUtil.java +++ b/lang/java/gradle-plugin/test-project/src/test/java/project/CLIUtil.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 + * + * https://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 project; import org.apache.avro.tool.Main; diff --git a/lang/java/gradle-plugin/test-project/src/test/java/project/RandomRecordTest.java b/lang/java/gradle-plugin/test-project/src/test/java/project/RandomRecordTest.java index 47b4d306393..782379e5f56 100644 --- a/lang/java/gradle-plugin/test-project/src/test/java/project/RandomRecordTest.java +++ b/lang/java/gradle-plugin/test-project/src/test/java/project/RandomRecordTest.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 + * + * https://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 project; import org.apache.avro.specific.SpecificRecord; diff --git a/lang/java/gradle-plugin/test-project/src/test/java/project/RecordTest.java b/lang/java/gradle-plugin/test-project/src/test/java/project/RecordTest.java index 8f979a6a7a5..f7175c4843b 100644 --- a/lang/java/gradle-plugin/test-project/src/test/java/project/RecordTest.java +++ b/lang/java/gradle-plugin/test-project/src/test/java/project/RecordTest.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 + * + * https://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 project; import com.example.BuggyRecord;