gradle-master/subprojects/docs/src/snippets/developingPlugins/pluginExtension/kotlin/buildSrc/src/main/java/org/myorg/SitePlugin.java
package org.myorg;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

public class SitePlugin implements Plugin<Project> {
    public void apply(Project project) {
        project.getExtensions().create("site", SiteExtension.class);
    }
}
