Skip to content

Commit

Permalink
Make sure Gradle's root project is called "liferay-mobile-sdk" in ord…
Browse files Browse the repository at this point in the history
…er to correctly detect dependencies in SDK Builder
  • Loading branch information
Bruno Farache committed May 13, 2015
1 parent 6e47e18 commit 2298396
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oauth/android
2 changes: 1 addition & 1 deletion sdk-builder.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ configurations {
}

dependencies {
if (project.parent && (project.parent.name == 'mobile-sdk')) {
if (project.parent && (project.parent.name == 'liferay-mobile-sdk')) {
builder project(':builder')
}
else {
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include 'android', 'builder', 'ios'

rootProject.name = 'liferay-mobile-sdk'

def modules = files { file('modules').listFiles() }

modules.each { File module ->
Expand Down

0 comments on commit 2298396

Please sign in to comment.