package org.gradle.api.internal.project;
import groovy.lang.Closure;
<BUG>import org.gradle.api.Project;</BUG>
import org.gradle.api.initialization.dsl.ScriptHandler;
import org.gradle.api.logging.Logger;
import org.gradle.api.logging.LoggingManager;
import org.gradle.groovy.scripts.DefaultScript;
import org.gradle.internal.logging.StandardOutputCapture;
import java.util.Map;
public abstract class ProjectScript extends DefaultScript {
public void apply(Closure closure) {
<BUG>((Project) getScriptTarget()).apply(closure);
}</BUG>
@SuppressWarnings("unchecked")

package org.gradle.api.internal.project;
import groovy.lang.Closure;
import org.gradle.api.initialization.dsl.ScriptHandler;
import org.gradle.api.logging.Logger;
import org.gradle.api.logging.LoggingManager;
import org.gradle.groovy.scripts.DefaultScript;
import org.gradle.internal.logging.StandardOutputCapture;
import java.util.Map;
public abstract class ProjectScript extends DefaultScript {
public void apply(Closure closure) {
getScriptTarget().apply(closure);
}
@SuppressWarnings("unchecked")
