diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index c3c02b1ac80d..c85b9931cb79 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -40,7 +40,6 @@ dependencies { checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}") implementation(platform("org.springframework:spring-framework-bom:${versions.springFramework}")) - implementation("com.diffplug.gradle:goomph:3.37.2") implementation("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}") implementation("com.gradle:develocity-gradle-plugin:3.17.2") implementation("com.tngtech.archunit:archunit:1.0.0") diff --git a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesPlugin.java b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesPlugin.java index 3e895d4fe373..5836cf0f4eb6 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesPlugin.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesPlugin.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 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. @@ -33,7 +33,6 @@ import org.gradle.api.tasks.compile.JavaCompile; import org.gradle.language.base.plugins.LifecycleBasePlugin; -import org.springframework.boot.build.processors.ProcessedAnnotationsPlugin; import org.springframework.util.StringUtils; /** @@ -92,7 +91,6 @@ private void configureConfigurationPropertiesAnnotationProcessor(Project project .add(project.getDependencies() .project(Collections.singletonMap("path", ":spring-boot-project:spring-boot-tools:spring-boot-configuration-processor"))); - project.getPlugins().apply(ProcessedAnnotationsPlugin.class); } private void disableIncrementalCompilation(Project project) { diff --git a/buildSrc/src/main/java/org/springframework/boot/build/processors/ProcessedAnnotationsPlugin.java b/buildSrc/src/main/java/org/springframework/boot/build/processors/ProcessedAnnotationsPlugin.java deleted file mode 100644 index b8abfe90f817..000000000000 --- a/buildSrc/src/main/java/org/springframework/boot/build/processors/ProcessedAnnotationsPlugin.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2022-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.boot.build.processors; - -import com.diffplug.gradle.eclipse.apt.AptEclipsePlugin; -import org.gradle.api.Plugin; -import org.gradle.api.Project; -import org.gradle.plugins.ide.eclipse.model.EclipseModel; - -/** - * A plugin for a project that uses one or more annotations processors. - * - * @author Andy Wilkinson - */ -public class ProcessedAnnotationsPlugin implements Plugin { - - @Override - public void apply(Project project) { - project.getPlugins().apply(AptEclipsePlugin.class); - project.getExtensions() - .getByType(EclipseModel.class) - .synchronizationTasks("eclipseJdtApt", "eclipseJdt", "eclipseFactorypath"); - } - -}