gradle-master/subprojects/docs/src/snippets/plugins/dslWithBuildSrc/groovy/buildSrc/src/main/java/my/MyPlugin.java
package my;

import org.gradle.api.*;
import org.gradle.api.plugins.BasePlugin;

public class MyPlugin implements Plugin<Project> {
    @Override
    public void apply(Project project) {
        project.getPluginManager().apply(BasePlugin.class);
    }
}
