Recognize Gradle projects as valid dependencies.

This commit is contained in:
player-03
2016-05-31 18:28:53 -04:00
committed by Joshua Granick
parent 4376c0008d
commit c89cf05bfb

View File

@@ -320,7 +320,7 @@ class AndroidPlatform extends PlatformTarget {
for (dependency in project.dependencies) {
if (dependency.path != "" && FileSystem.exists (dependency.path) && FileSystem.isDirectory (dependency.path) && FileSystem.exists (PathHelper.combine (dependency.path, "project.properties"))) {
if (dependency.path != "" && FileSystem.exists (dependency.path) && FileSystem.isDirectory (dependency.path) && (FileSystem.exists (PathHelper.combine (dependency.path, "project.properties")) || FileSystem.exists (PathHelper.combine (dependency.path, "build.gradle")))) {
var name = dependency.name;
if (name == "") name = "project" + index;