Polish
See gh-12202
This commit is contained in:
committed by
Stephane Nicoll
parent
602f733f48
commit
e2fb093ccf
@@ -167,8 +167,7 @@ final class JavaPluginAction implements PluginApplicationAction {
|
||||
? compile.getOptions().getAnnotationProcessorPath().getFiles()
|
||||
: compile.getClasspath().getFiles();
|
||||
return files.stream().map(File::getName)
|
||||
.filter((name) -> name.startsWith("spring-boot-configuration-processor"))
|
||||
.findFirst().isPresent();
|
||||
.anyMatch((name) -> name.startsWith("spring-boot-configuration-processor"));
|
||||
}
|
||||
|
||||
private void configureAdditionalMetadataLocations(JavaCompile compile,
|
||||
|
||||
Reference in New Issue
Block a user