use of com.google.startupos.tools.build_file_generator.Protos.WorkspaceFile.HttpArchive in project startup-os by google.
the class WorkspaceParser method getWorkspaceFile.
public WorkspaceFile getWorkspaceFile() {
WorkspaceFile.Builder result = WorkspaceFile.newBuilder();
String absWorkspacePath = fileUtils.joinPaths(fileUtils.getCurrentWorkingDirectory(), "WORKSPACE");
for (HttpArchive httpArchive : getHttpArchives(fileUtils.readFileUnchecked(absWorkspacePath))) {
result.addHttpArchive(httpArchive);
}
return result.build();
}
Aggregations