Skip to content

Commit bb7ad2f

Browse files
committed
Move JAR back to ParseLoginUI libs folder
1 parent 2479094 commit bb7ad2f

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

ParseLoginSampleBasic/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies {
44
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
55
compile project(':ParseLoginUI')
66
compile 'com.android.support:support-v4:21.0.0'
7-
compile files(':libs/Parse-1.8.2.jar')
7+
compile files('../ParseLoginUI/libs/Parse-1.8.2.jar')
88
}
99

1010
android {

ParseLoginSampleCodeCustomization/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies {
44
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
55
compile project(':ParseLoginUI')
66
compile 'com.android.support:support-v4:21.0.0'
7-
compile files(':libs/Parse-1.8.2.jar')
7+
compile files('../ParseLoginUI/libs/Parse-1.8.2.jar')
88
}
99

1010
android {

ParseLoginSampleLayoutOverride/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies {
44
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
55
compile project(':ParseLoginUI')
66
compile 'com.android.support:support-v4:21.0.0'
7-
compile files(':libs/Parse-1.8.2.jar')
7+
compile files('../ParseLoginUI/libs/Parse-1.8.2.jar')
88
}
99

1010
android {

ParseLoginSampleWithDispatchActivity/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies {
44
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
55
compile project(':ParseLoginUI')
66
compile 'com.android.support:support-v4:21.0.0'
7-
compile files(':libs/Parse-1.8.2.jar')
7+
compile files('../ParseLoginUI/libs/Parse-1.8.2.jar')
88
}
99

1010
android {

ParseLoginUI/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ dependencies {
66

77
provided 'com.facebook.android:facebook-android-sdk:3.21.1'
88

9-
// This assumes that
10-
// 1. The Parse SDK file is in <PROJECT_ROOT>/libs folder.
11-
// 2. Your app's project has a compile dependency on the Parse SDK JAR file.
9+
// This assumes that your app's project has a compile dependency on the Parse SDK JAR file.
1210
// Your project's build.gradle should say:
1311
//
14-
// compile files(':libs/Parse-1.8.2.jar')
12+
// compile files('YOUR_PROJECT_LIBS_PATH/Parse-1.8.2.jar')
1513
//
16-
// See ParseLoginSampleBasic/build.gradle for an example.
17-
provided files(':libs/Parse-1.8.2.jar')
14+
// Since the dependency below is "provided" instead of "compile", your project's build.gradle
15+
// does not have to refer to the same Parse SDK instance that's in the ParseLoginUI/libs folder.
16+
provided files('libs/Parse-1.8.2.jar')
1817
}
1918

2019
android {
File renamed without changes.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ To run our sample apps, you need to import this repo as a standalone Gradle proj
3535
compile project(':ParseLoginUI')
3636

3737
// If your app's project does not have the Parse Android SDK already, copy it into your
38-
// project at <PROJECT_ROOT>/libs. The Parse SDK path must match the "provided files(...)"
39-
// line in ParseLoginUI/build.gradle.
40-
compile files(':libs/Parse-1.8.2.jar')
38+
// project at YOUR_PROJECT_LIBS_PATH.
39+
compile files('YOUR_PROJECT_LIBS_PATH/Parse-1.8.2.jar')
4140

4241
// Uncomment if using Facebook Login (optional Maven dependency)
4342
// compile 'com.facebook.android:facebook-android-sdk:3.21.1'

0 commit comments

Comments
 (0)