From f3e95c8175b6c75c3e1b0160624e030798d057cc Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Fri, 11 Oct 2024 21:08:46 +0700 Subject: [PATCH] Remove unused import --- .../gradle/maven/PublishAllJavaComponentsPlugin.java | 2 -- .../convention/versions/VerifyDependenciesVersionsPlugin.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/buildSrc/src/main/java/org/springframework/gradle/maven/PublishAllJavaComponentsPlugin.java b/buildSrc/src/main/java/org/springframework/gradle/maven/PublishAllJavaComponentsPlugin.java index 408d83e716..d89836048c 100644 --- a/buildSrc/src/main/java/org/springframework/gradle/maven/PublishAllJavaComponentsPlugin.java +++ b/buildSrc/src/main/java/org/springframework/gradle/maven/PublishAllJavaComponentsPlugin.java @@ -7,8 +7,6 @@ import org.gradle.api.Project; import org.gradle.api.plugins.JavaPlatformPlugin; import org.gradle.api.plugins.JavaPlugin; import org.gradle.api.publish.PublishingExtension; -import org.gradle.api.publish.VariantVersionMappingStrategy; -import org.gradle.api.publish.VersionMappingStrategy; import org.gradle.api.publish.maven.MavenPublication; import org.gradle.api.publish.maven.plugins.MavenPublishPlugin; diff --git a/buildSrc/src/main/java/org/springframework/security/convention/versions/VerifyDependenciesVersionsPlugin.java b/buildSrc/src/main/java/org/springframework/security/convention/versions/VerifyDependenciesVersionsPlugin.java index d10a06673f..0bc3482a5e 100644 --- a/buildSrc/src/main/java/org/springframework/security/convention/versions/VerifyDependenciesVersionsPlugin.java +++ b/buildSrc/src/main/java/org/springframework/security/convention/versions/VerifyDependenciesVersionsPlugin.java @@ -23,7 +23,6 @@ import org.gradle.api.artifacts.Dependency; import org.gradle.api.artifacts.MinimalExternalModuleDependency; import org.gradle.api.artifacts.VersionCatalog; import org.gradle.api.artifacts.VersionCatalogsExtension; -import org.gradle.api.file.RegularFile; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.plugins.JavaBasePlugin; import org.gradle.api.provider.Property; @@ -36,7 +35,6 @@ import org.gradle.api.tasks.TaskExecutionException; import org.gradle.api.tasks.TaskProvider; import org.gradle.api.tasks.VerificationException; -import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.Optional;