public Collection<File> getRuntimeClasspath() {
return classpath;
}
public void onConfigure(GradleInternal gradle) {
EmbeddableJavaProject projectInfo = gradle.getRootProject().getConvention().getPlugin(EmbeddableJavaProject.class);
gradle.getStartParameter().setTaskNames(rebuild ? projectInfo.getRebuildTasks() : projectInfo.getBuildTasks());
classpath = projectInfo.getRuntimeClasspath().getFiles();
}