src/com/esotericsoftware/scar/Build.java
static private Paths dependencyClasspaths (Project project, Paths paths, boolean includeDependencyJAR,
		boolean errorIfDepenenciesNotBuilt) throws IOException {
		for (String dependency : project.getList("dependencies")) {
			Project dependencyProject = project(project.path(dependency));
			String dependencyTarget = dependencyProject.path("$target$/");
			if (errorIfDepenenciesNotBuilt && !fileExists(dependencyTarget))
				throw new RuntimeException("Dependency has not been built: " + dependency + "\nAbsolute dependency path: "
					+ canonical(dependency) + "\nMissing dependency target: " + canonical(dependencyTarget));
			if (includeDependencyJAR) paths.glob(dependencyTarget, "*.jar");
			paths.add(classpath(dependencyProject, errorIfDepenenciesNotBuilt));
		}
		return paths;
	}
/** Computes the classpath for all the dependencies of the specified project, recursively. */
Computes the classpath for all the dependencies of the specified project, recursively.
Computes the classpath for all the dependencies of the specified project recursively .
static private Paths dependencyClasspaths (Project project, Paths paths, boolean includeDependencyJAR,
		boolean errorIfDepenenciesNotBuilt) throws IOException {
		for (String dependency : project.getList("dependencies")) {
			Project dependencyProject = project(project.path(dependency));
			String dependencyTarget = dependencyProject.path("$target$/");
			if (errorIfDepenenciesNotBuilt && !fileExists(dependencyTarget))
				throw new RuntimeException("Dependency has not been built: " + dependency + "\nAbsolute dependency path: "
					+ canonical(dependency) + "\nMissing dependency target: " + canonical(dependencyTarget));
			if (includeDependencyJAR) paths.glob(dependencyTarget, "*.jar");
			paths.add(classpath(dependencyProject, errorIfDepenenciesNotBuilt));
		}
		return paths;
	}
static private Paths dependencyClasspaths ( Project project , Paths paths , boolean includeDependencyJAR , boolean errorIfDepenenciesNotBuilt ) throws IOException { for ( String dependency : project . getList ( "dependencies" ) ) { Project dependencyProject = project ( project . path ( dependency ) ) ; String dependencyTarget = dependencyProject . path ( "$target$/" ) ; if ( errorIfDepenenciesNotBuilt && ! fileExists ( dependencyTarget ) ) throw new RuntimeException ( "Dependency has not been built: " + dependency + "\nAbsolute dependency path: " + canonical ( dependency ) + "\nMissing dependency target: " + canonical ( dependencyTarget ) ) ; if ( includeDependencyJAR ) paths . glob ( dependencyTarget , "*.jar" ) ; paths . add ( classpath ( dependencyProject , errorIfDepenenciesNotBuilt ) ) ; } return paths ; }
Computes the classpath for all the dependencies of the specified project, recursively.
Computes the classpath for all the dependencies of the specified project recursively .