Skip to content
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

Upgrade Android Gradle Plugin to 4.2.0 #3677

Merged
merged 1 commit into from
May 4, 2021
Merged

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

Release notes: https://developer.android.com/studio/releases/gradle-plugin#4-2-0

  • Remove dexcount-gradle-plugin because it is incompatible with 4.2.0.
    This plugin hasn't had a release since October 2020, so it's likely that
    it will be some time before the plugin is made compatible.
    We don't rely on this plugin so it's safe to remove.

  • Fix tests that are failing due to new changes in how string resources
    are processed. String resources that are defined with the closing
    tag on a new line line now include a whitespace character at the end
    of the string.

    <!--
    Resolves to "Some text" in AGP 4.1.2
    Resolves to "Some text " in AGP 4.2.0
    -->
    <string name="my_string">
    Some text
    </string>

Motivation

Testing

  • Added tests
  • Modified tests
  • Manually verified

Release notes:
https://developer.android.com/studio/releases/gradle-plugin#4-2-0

- Remove dexcount plugin because it is incompatible with 4.2.0. This
  plugin hasn't had a release since October 2020, so it's likely that
  it will be some time before the plugin is made compatible.
  We don't rely on this plugin so it's safe to remove.

- Fix tests that are failing due to new changes in how string resources
  are processed. String resources that are defined with the closing
  tag on a new line line now include a whitesppace character at the end
  of the string.

  ```xml
  <!--
  Resolves to "Some text" in AGP 4.1.2
  Resolves to "Some text " in AGP 4.2.0
  -->
  <string name="my_string">
  Some text
  </string>
  ```
@mshafrir-stripe mshafrir-stripe changed the title Upgrade Android Gradle Plugin 4.2.0 Upgrade Android Gradle Plugin to 4.2.0 May 4, 2021
@mshafrir-stripe mshafrir-stripe merged commit 68ed455 into master May 4, 2021
@mshafrir-stripe mshafrir-stripe deleted the upgrade-agp branch May 4, 2021 19:43
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.

None yet

2 participants