properties.put("sonar.binaries", mainClasspath);
properties.put("sonar.libraries", mainLibraries);
return sourceDirectories != null || testDirectories != null;
}
private void configureSourceEncoding(Project project, final Map<String, Object> properties) {
<BUG>project.getTasks().withType(JavaCompile.class, new Action<JavaCompile>() {

@Override
public void execute(final JavaCompile compile) {</BUG>
String encoding = compile.getOptions().getEncoding();

properties.put("sonar.binaries", mainClasspath);
properties.put("sonar.libraries", mainLibraries);
return sourceDirectories != null || testDirectories != null;
}
private void configureSourceEncoding(Project project, final Map<String, Object> properties) {
project.getTasks().withType(JavaCompile.class, compile -> {
String encoding = compile.getOptions().getEncoding();
