Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ParseLoginSampleBasic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
compile rootProject.ext.facebookSDK
compile project(':ParseLoginUI')
compile rootProject.ext.androidSupport
compile files(rootProject.ext.parsePath)
compile rootProject.ext.parse
compile files(rootProject.ext.parseFacebookUtilsPath)
compile files(rootProject.ext.parseTwitterUtilsPath)
}
Expand Down
2 changes: 1 addition & 1 deletion ParseLoginSampleCodeCustomization/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
compile rootProject.ext.facebookSDK
compile project(':ParseLoginUI')
compile rootProject.ext.androidSupport
compile files(rootProject.ext.parsePath)
compile rootProject.ext.parse
compile files(rootProject.ext.parseFacebookUtilsPath)
compile files(rootProject.ext.parseTwitterUtilsPath)
}
Expand Down
2 changes: 1 addition & 1 deletion ParseLoginSampleLayoutOverride/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
compile rootProject.ext.facebookSDK
compile project(':ParseLoginUI')
compile rootProject.ext.androidSupport
compile files(rootProject.ext.parsePath)
compile rootProject.ext.parse
compile files(rootProject.ext.parseFacebookUtilsPath)
compile files(rootProject.ext.parseTwitterUtilsPath)
}
Expand Down
2 changes: 1 addition & 1 deletion ParseLoginSampleWithDispatchActivity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies {
compile rootProject.ext.facebookSDK
compile project(':ParseLoginUI')
compile rootProject.ext.androidSupport
compile files(rootProject.ext.parsePath)
compile rootProject.ext.parse
compile files(rootProject.ext.parseFacebookUtilsPath)
compile files(rootProject.ext.parseTwitterUtilsPath)
}
Expand Down
16 changes: 4 additions & 12 deletions ParseLoginUI/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
apply plugin: 'android-library'

dependencies {
compile 'com.parse.bolts:bolts-android:1.2.0'
compile 'com.android.support:support-v4:22.0.0'
compile rootProject.ext.bolts
compile rootProject.ext.androidSupport
compile rootProject.ext.parse

provided 'com.facebook.android:facebook-android-sdk:4.0.1'
// This assumes that your app's project has a compile dependency on the Parse SDK JAR files.
// Your project's build.gradle should say:
//
// compile files('YOUR_PROJECT_LIBS_PATH/Parse-1.9.4.jar')
// compile files('YOUR_PROJECT_LIBS_PATH/ParseFacebookUtilsV4-1.9.4.jar')
//
// Since the dependency below is "provided" instead of "compile", your project's build.gradle
// does not have to refer to the same Parse SDK instance that's in the ParseLoginUI/libs folder.
provided files("$rootProject.projectDir/ParseLoginUI/libs/Parse-1.10.0.jar")
provided rootProject.ext.facebookSDK
provided files("$rootProject.projectDir/ParseLoginUI/libs/ParseFacebookUtilsV4-1.10.0.jar")
provided files("$rootProject.projectDir/ParseLoginUI/libs/ParseTwitterUtils-1.10.0.jar")
}
Expand Down
Binary file removed ParseLoginUI/libs/Parse-1.10.0.jar
Binary file not shown.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,14 @@ To run our sample apps, you need to import this repo as a standalone Gradle proj
* File > Import Module in Android Studio
* In the New Module pop-up, set the source directory to the `ParseUI-Android/ParseLoginUI` folder within the cloned repo.

If you are using gradle 1.1.0 or above, you may encounter "Warning:Project ParseLoginUI: provided dependencies can only be jars. com.facebook.android:facebook-android-sdk:aar:4.0.1 is an Android Library". It is an open issue of android gradle build tool. Currently the workround is using gradle 1.0.0.
4. Add the following to the `dependencies` section of your app's build.gradle.

// Module dependency on ParseLoginUI library sources
compile project(':ParseLoginUI')

// If your app's project does not have the Parse Android SDK already, copy it into your
// project at YOUR_PROJECT_LIBS_PATH.
compile files('YOUR_PROJECT_LIBS_PATH/Parse-1.9.4.jar')
compile files('YOUR_PROJECT_LIBS_PATH/ParseFacebookUtilsV4-1.9.4.jar')

// Uncomment if using Facebook Login (optional Maven dependency)
// compile 'com.facebook.android:facebook-android-sdk:4.0.1'
// compile files('YOUR_PROJECT_LIBS_PATH/ParseFacebookUtilsV4-1.10.0.jar')

5. Add the following to your `AndroidManifest.xml` within the `<application></application>` section. You can see a complete example in our [sample app](https://github.com/ParsePlatform/ParseUI-Android/blob/master/ParseLoginSampleBasic/AndroidManifest.xml).

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ext {
facebookSDK = 'com.facebook.android:facebook-android-sdk:4.0.1'
androidSupport = 'com.android.support:support-v4:22.0.0'
bolts = 'com.parse.bolts:bolts-android:1.2.0'
parsePath = "$rootProject.projectDir/ParseLoginUI/libs/Parse-1.10.0.jar"
parse = 'com.parse:parse-android:1.10.0'
parseFacebookUtilsPath = "$rootProject.projectDir/ParseLoginUI/libs/ParseFacebookUtilsV4-1.10.0.jar"
parseTwitterUtilsPath = "$rootProject.projectDir/ParseLoginUI/libs/ParseTwitterUtils-1.10.0.jar"
}