return selectTargetDirectoryFor(task.getConfiguration());
}
@Nonnull
protected Path selectTargetDirectoryFor(@Nullable String configuration) throws Exception {
if ("tool".equals(configuration)) {
<BUG>return _settings.getBuild().getGopathSourceRoot();
</BUG>
}
return _settings.getDependencies().getDependencyCache();
}

return selectTargetDirectoryFor(task.getConfiguration());
}
@Nonnull
protected Path selectTargetDirectoryFor(@Nullable String configuration) throws Exception {
if ("tool".equals(configuration)) {
return _settings.getBuild().getFirstGopathSourceRoot();
}
return _settings.getDependencies().getDependencyCache();
}
