From 8376bc3697b0eec5b5dba4ff01a71547038385f3 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Thu, 25 Oct 2018 11:25:56 +0200 Subject: [PATCH] Fix build after checkstyle imports updates See gh-14911 --- .../boot/gradle/plugin/UnresolvedDependenciesAnalyzer.java | 7 +++---- src/checkstyle/checkstyle-suppressions.xml | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/UnresolvedDependenciesAnalyzer.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/UnresolvedDependenciesAnalyzer.java index 930f32d93fc5..9737776c2b01 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/UnresolvedDependenciesAnalyzer.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/UnresolvedDependenciesAnalyzer.java @@ -17,14 +17,14 @@ package org.springframework.boot.gradle.plugin; import java.util.HashSet; -import java.util.Set; import java.util.stream.Collectors; import io.spring.gradle.dependencymanagement.DependencyManagementPlugin; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.gradle.api.Project; import org.gradle.api.artifacts.ModuleVersionSelector; import org.gradle.api.artifacts.UnresolvedDependency; -import org.slf4j.LoggerFactory; /** * An analyzer for {@link UnresolvedDependency unresolvable dependencies} that logs a @@ -35,8 +35,7 @@ */ class UnresolvedDependenciesAnalyzer { - private static final org.slf4j.Logger logger = LoggerFactory - .getLogger(SpringBootPlugin.class); + private static final Log logger = LogFactory.getLog(SpringBootPlugin.class); private Set dependenciesWithNoVersion = new HashSet<>(); diff --git a/src/checkstyle/checkstyle-suppressions.xml b/src/checkstyle/checkstyle-suppressions.xml index a8d5a952c446..2116b6b8e6f5 100644 --- a/src/checkstyle/checkstyle-suppressions.xml +++ b/src/checkstyle/checkstyle-suppressions.xml @@ -33,4 +33,5 @@ +