gradle-master/subprojects/docs/src/snippets/developingPlugins/capabilitiesVsConventions/groovy/buildSrc/src/main/java/MyPlugin.java
import org.gradle.api.Plugin;
import org.gradle.api.Project;

public class MyPlugin implements Plugin<Project> {
    public void apply(Project project) {
        project.getPlugins().apply(MyBasePlugin.class);

        // define conventions
    }
}
