src/com/esotericsoftware/scar/Build.java
static public void buildDependencies (Project project) throws IOException {
		if (project == null) throw new IllegalArgumentException("project cannot be null.");

		for (String dependency : project.getList("dependencies")) {
			Project dependencyProject = project(project.path(dependency));

			if (builtProjects.contains(dependencyProject.get("name"))) {
				if (DEBUG) debug(project.toString(), "Dependency project already built: " + dependencyProject);
				continue;
			}

			String jarFile;
			if (dependencyProject.has("version"))
				jarFile = dependencyProject.path("$target$/$name$-$version$.jar");
			else
				jarFile = dependencyProject.path("$target$/$name$.jar");

			if (DEBUG) debug("Building dependency: " + dependencyProject);
			if (!executeDocument(dependencyProject)) build(dependencyProject);
		}
	}
/** Calls {@link #build(Project)} for each dependency project in the specified project. */
Calls  #build(Project) for each dependency project in the specified project.
Calls #build ( Project ) for each dependency project in the specified project .
static public void buildDependencies (Project project) throws IOException {
		if (project == null) throw new IllegalArgumentException("project cannot be null.");
		for (String dependency : project.getList("dependencies")) {
			Project dependencyProject = project(project.path(dependency));
			if (builtProjects.contains(dependencyProject.get("name"))) {
				if (DEBUG) debug(project.toString(), "Dependency project already built: " + dependencyProject);
				continue;
			}
			String jarFile;
			if (dependencyProject.has("version"))
				jarFile = dependencyProject.path("$target$/$name$-$version$.jar");
			else
				jarFile = dependencyProject.path("$target$/$name$.jar");
			if (DEBUG) debug("Building dependency: " + dependencyProject);
			if (!executeDocument(dependencyProject)) build(dependencyProject);
		}
	}
static public void buildDependencies ( Project project ) throws IOException { if ( project == null ) throw new IllegalArgumentException ( "project cannot be null." ) ; for ( String dependency : project . getList ( "dependencies" ) ) { Project dependencyProject = project ( project . path ( dependency ) ) ; if ( builtProjects . contains ( dependencyProject . get ( "name" ) ) ) { if ( DEBUG ) debug ( project . toString ( ) , "Dependency project already built: " + dependencyProject ) ; continue ; } String jarFile ; if ( dependencyProject . has ( "version" ) ) jarFile = dependencyProject . path ( "$target$/$name$-$version$.jar" ) ; else jarFile = dependencyProject . path ( "$target$/$name$.jar" ) ; if ( DEBUG ) debug ( "Building dependency: " + dependencyProject ) ; if ( ! executeDocument ( dependencyProject ) ) build ( dependencyProject ) ; } }
Calls {@link #build(Project)} for each dependency project in the specified project.
Calls { @link #build ( Project ) } for each dependency project in the specified project .