-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Publicly usable lint checks #1427
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
Conversation
|
cc @pavlospt wdyt? |
|
This is failing because #1426 is not yet merged. |
Change-Id: I9b712f3df3e1a164867f69abb9e7f3270f48195f
dc45ab7 to
58b8335
Compare
Change-Id: I5076201bc6d5ec7196a229485af91f4c894eca5c
|
Remaining error: I know we hit this before but I forget why. |
|
If there was a firebaseui-lint library it could be served as a dependency as well for standalone usage! Otherwise the separation looks good to me! |
SUPERCILEX
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, LGTM! 👍
| } | ||
|
|
||
| buildTypes { | ||
| named("debug").configure { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why'd we add this back? It adds like 5+ mins to a full debug build. Shouldn't we only run it in CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh damn I forgot why we removed it. Android Studio gets pretty angry when not all modules have matching configurations and this made it happy.
Let me see if I can appease Android Studio without compromising time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohhh, yeah, I remember seeing those warnings. Let's use a variant filter then: https://developer.android.com/studio/build/build-variants#filter-variants
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep it looks like that's already working with setIgnore. I pushed a commit to simplify the debug config to the minimum that makes AS happy.
I did a time of some clean builds and the extra config doesn't cost us anything. Will confirm via Travis logs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, SGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis confirmed: no slowdown.
Change-Id: I561c1183fa383f51d9117ec870303cf767e9b641
See #1351
I wonder if we should create an empty
firebaseui-lintandroid library that only exists to have thelintCheckscall. I say that because I am not sure what happens if we had multiple (for example auth and firestore) depending on thelintmodule aslintChecks