Add Gradle Lock Plugin

This commit is contained in:
Joe Grandja
2020-08-19 16:31:01 -04:00
parent e16f15cce3
commit a401392bac
5 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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");
});
}
}