diff --git a/buildSrc/src/main/java/org/springframework/build/api/ApiDiffPlugin.java b/buildSrc/src/main/java/org/springframework/build/api/ApiDiffPlugin.java index 4946191282e..9c4258cce2e 100644 --- a/buildSrc/src/main/java/org/springframework/build/api/ApiDiffPlugin.java +++ b/buildSrc/src/main/java/org/springframework/build/api/ApiDiffPlugin.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.springframework.build.api; import java.io.File; @@ -138,4 +139,4 @@ public class ApiDiffPlugin implements Plugin { return project.file(outDir.resolve(project.getName() + ".html").toString()); } -} \ No newline at end of file +} diff --git a/buildSrc/src/main/java/org/springframework/build/hint/RuntimeHintsAgentArgumentProvider.java b/buildSrc/src/main/java/org/springframework/build/hint/RuntimeHintsAgentArgumentProvider.java index 1ad9405e1ae..2a7169fd885 100644 --- a/buildSrc/src/main/java/org/springframework/build/hint/RuntimeHintsAgentArgumentProvider.java +++ b/buildSrc/src/main/java/org/springframework/build/hint/RuntimeHintsAgentArgumentProvider.java @@ -16,14 +16,14 @@ package org.springframework.build.hint; +import java.util.Collections; + import org.gradle.api.file.ConfigurableFileCollection; import org.gradle.api.provider.SetProperty; import org.gradle.api.tasks.Classpath; import org.gradle.api.tasks.Input; import org.gradle.process.CommandLineArgumentProvider; -import java.util.Collections; - /** * Argument provider for registering the runtime hints agent with a Java process. */ @@ -45,4 +45,4 @@ public interface RuntimeHintsAgentArgumentProvider extends CommandLineArgumentPr getExcludedPackages().get().forEach(packageName -> packages.append('-').append(packageName).append(',')); return Collections.singleton("-javaagent:" + getAgentJar().getSingleFile() + "=" + packages); } -} \ No newline at end of file +} diff --git a/buildSrc/src/main/java/org/springframework/build/optional/OptionalDependenciesPlugin.java b/buildSrc/src/main/java/org/springframework/build/optional/OptionalDependenciesPlugin.java index 3ec751c6457..89475866612 100644 --- a/buildSrc/src/main/java/org/springframework/build/optional/OptionalDependenciesPlugin.java +++ b/buildSrc/src/main/java/org/springframework/build/optional/OptionalDependenciesPlugin.java @@ -53,4 +53,4 @@ public class OptionalDependenciesPlugin implements Plugin { }); } -} \ No newline at end of file +} diff --git a/buildSrc/src/main/java/org/springframework/build/shadow/ShadowSource.java b/buildSrc/src/main/java/org/springframework/build/shadow/ShadowSource.java index de14fd69101..ed30b8609ca 100644 --- a/buildSrc/src/main/java/org/springframework/build/shadow/ShadowSource.java +++ b/buildSrc/src/main/java/org/springframework/build/shadow/ShadowSource.java @@ -1,3 +1,19 @@ +/* + * Copyright 2002-2023 the original author or authors. + * + * 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 + * + * 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 org.springframework.build.shadow; import java.io.File;