Recognize Gradle projects as valid dependencies.
This commit is contained in:
committed by
Joshua Granick
parent
4376c0008d
commit
c89cf05bfb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user