Commit 26415592 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish contribution

Closes gh-12202
parent e2fb093c
......@@ -166,8 +166,8 @@ final class JavaPluginAction implements PluginApplicationAction {
Set<File> files = compile.getOptions().getAnnotationProcessorPath() != null
? compile.getOptions().getAnnotationProcessorPath().getFiles()
: compile.getClasspath().getFiles();
return files.stream().map(File::getName)
.anyMatch((name) -> name.startsWith("spring-boot-configuration-processor"));
return files.stream().map(File::getName).anyMatch(
(name) -> name.startsWith("spring-boot-configuration-processor"));
}
private void configureAdditionalMetadataLocations(JavaCompile compile,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment