use of org.gradle.initialization.GradleLauncher in project gradle by gradle.
the class DefaultIncludedBuild method execute.
@Override
public BuildResult execute(Iterable<String> tasks) {
GradleLauncher launcher = getGradleLauncher();
launcher.getGradle().getStartParameter().setTaskNames(tasks);
try {
return launcher.run();
} finally {
markAsNotReusable();
}
}
Aggregations