52f20b5281
Use regular expression search/replace to ensure all single-arg lambdas have parenthesis. This aligns with the style used in Spring Boot and ensure that single-arg and multi-arg lambdas are consistent. Issue gh-8945
17 lines
372 B
Java
17 lines
372 B
Java
package lock;
|
|
|
|
import org.gradle.api.Plugin;
|
|
import org.gradle.api.Project;
|
|
|
|
/**
|
|
* @author Rob Winch
|
|
*/
|
|
public class GlobalLockPlugin implements Plugin<Project> {
|
|
@Override
|
|
public void apply(Project project) {
|
|
project.getTasks().register("writeLocks", GlobalLockTask.class, (writeAll) -> {
|
|
writeAll.setDescription("Writes the locks for all projects");
|
|
});
|
|
}
|
|
}
|