-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update to Gradle 4.10.3/Android Gradle plugin 3.2.1 #9044
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
Changes from all commits
56a97f2
e37c1a8
748d5e4
1fe7cb2
0277f36
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,10 +83,6 @@ | |
| <ignore regexp="java-common-1.13.jar" /> | ||
| </issue> | ||
|
|
||
| <issue id="IconLauncherFormat"> | ||
| <ignore path="src/main/res/mipmap-anydpi-v26/app_icon.xml" /> | ||
| </issue> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Its worth mentioning that I removed this because I got this error after upgrading: So it is not necessary to ignore this issue anymore. |
||
|
|
||
| <issue id="UnusedResources" severity="error"> | ||
| <ignore path="**/WordPressEditor/**" /> | ||
| <ignore path="**/WordPressLoginFlow/**" /> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -1395,7 +1395,7 @@ | |||
| <!-- Error Messages --> | ||||
| <!-- The following messages can\'t be factorized due to i18n --> | ||||
| <string name="error_refresh_posts">Posts couldn\'t be refreshed at this time</string> | ||||
| <string name="error_refresh_pages">Pages couldn\'t be refreshed at this time</string> | ||||
| <string name="error_refresh_pages" tools:ignore="UnusedResources">Pages couldn\'t be refreshed at this time</string> | ||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is unused can we just get rid of the string res?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not unused, but lint is falsely failing with an unused resources error. I don't know of another way to fix the error. WordPress-Android/WordPress/src/main/java/org/wordpress/android/viewmodel/pages/PagesViewModel.kt Line 184 in ea8da23
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I see - that's pretty odd. At first I thought the direct import of |
||||
| <string name="error_refresh_comments">Comments couldn\'t be refreshed at this time</string> | ||||
| <string name="error_refresh_comments_showing_older">Comments couldn\'t be refreshed at this time - showing older comments</string> | ||||
| <string name="error_refresh_stats">Stats couldn\'t be refreshed at this time</string> | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| #Wed Mar 28 12:21:02 CEST 2018 | ||
| #Tue Jan 22 14:59:58 GMT 2019 | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip |
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.
@jtreanor Could you explain the reasons for dropping some these entries from
lint-baseline.xml? On the face of it it's not clear why they belong in this PR, but I'm not too familiar with their background.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.
Lint gave a bunch of warnings about issues in
lint-baseline.xml(such as the Gradle upgrade warnings) were no longer matching lint results. Some of these warnings may not have been new but I removed the ones that I saw.Would you prefer if I didn't remove the rules that are not directly related to this PR?
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.
@jtreanor looks like they were present in
developas well - I don't see any harm in dropping them, so let's just leave those changes in 👍 Just wanted to be clear on any background there might have been.