Skip to content

Update deps #703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
May 11, 2017
Merged

Update deps #703

merged 28 commits into from
May 11, 2017

Conversation

SUPERCILEX
Copy link
Collaborator

No description provided.

app/build.gradle Outdated
@@ -42,12 +41,12 @@ dependencies {
// The following dependencies are not required to use the Firebase UI library.
// They are used to make some aspects of the demo app implementation simpler for
// demonstrative purposes, and you may find them useful in your own apps; YMMV.
compile 'pub.devrel:easypermissions:0.3.0'
compile 'pub.devrel:easypermissions:0.3.1'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.4.0?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I started writing this PR awhile ago so I haven't kept up. 😆

disable 'InvalidPackage', 'NewerVersionAvailable', 'GradleDependency'
disable 'InvalidPackage',
'NewerVersionAvailable', 'GradleDependency', // For reproducible builds
'GradleCompatible' // TODO remove once the tools team fixes lint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's wrong with lint right now?

@@ -31,33 +31,6 @@
<item name="android:fontFamily">sans-serif</item>
</style>

<style name="FirebaseUI.Text.T01">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we drop this non-dependency change from this PR?

@@ -99,21 +99,20 @@ public View onCreateView(LayoutInflater inflater,

View v = inflater.inflate(R.layout.register_email_layout, container, false);

mPasswordFieldValidator = new PasswordFieldValidator(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we drop this non-dependency change from this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup to both of your comments since I had to downgrade the gradle plugin, otherwise lint will complain.

Copy link
Collaborator Author

@SUPERCILEX SUPERCILEX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samtstern Hmmm, updating the Gradle plugin breaks our tests so it looks like we can't upgrade to Java 8 until that's fixed. 😢

getResources().getInteger(R.integer.min_password_length));
mNameValidator = new RequiredFieldValidator(
(TextInputLayout) v.findViewById(R.id.name_layout));
mEmailFieldValidator = new EmailFieldValidator(mEmailInput);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really cool! Lint has a new check for copypasta errors and it detected that we were calling v.findViewById(R.id.password_layout) twice. Pretty awesome! 😄

<style name="FirebaseUI.Text.T06">
<item name="android:textSize">18sp</item>
<item name="android:lineSpacingExtra">6sp</item>
</style>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint complained about this, turns out we weren't using them.

build.gradle Outdated
@@ -25,20 +24,6 @@ allprojects {
}
}

// TODO Remove once either Facebook or Robolectric fix the crash: https://github.com/robolectric/robolectric/issues/2579#issuecomment-276526911
gradle.taskGraph.whenReady { graph ->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, Facebook merged my PR!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Isn't there some hack we put in the manifest we can remove now too? Or was that unrelated.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samtstern It looks like the commit that fixed this didn't end up in the new Facebook release anyway unfortunately. As for the other issue, I believe that was unrelated though I'm not sure...

@@ -22,13 +22,11 @@ android {
}

dependencies {
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch, we were unnecessarily pulling in appcompat. 😕

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes! Good catch.

Copy link
Contributor

@samtstern samtstern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just some questions left

build.gradle Outdated
@@ -25,20 +24,6 @@ allprojects {
}
}

// TODO Remove once either Facebook or Robolectric fix the crash: https://github.com/robolectric/robolectric/issues/2579#issuecomment-276526911
gradle.taskGraph.whenReady { graph ->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Isn't there some hack we put in the manifest we can remove now too? Or was that unrelated.

@@ -22,13 +22,11 @@ android {
}

dependencies {
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes! Good catch.

@SUPERCILEX
Copy link
Collaborator Author

@samtstern That was a mess, but the build finally passed! 😄

@samtstern samtstern merged commit 5d114a6 into firebase:version-2.0.0-dev May 11, 2017
@SUPERCILEX SUPERCILEX deleted the update branch May 11, 2017 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants