-
Notifications
You must be signed in to change notification settings - Fork 11
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 Gradle to 7.3.3 & Android Gradle Plugin to 7.1.1 #3
Conversation
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.
LGTM 👍
sample/build.gradle
Outdated
|
||
defaultConfig { | ||
applicationId "com.tumblr.permissme.sample" | ||
minSdkVersion 16 | ||
targetSdkVersion 28 | ||
targetSdkVersion 30 |
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.
Should we target 31? We are working on upgrading this on the main repo, and the main blocker we have is the lack of Jdk 11 on Jenkins (which is also required for AGP 7.x), so we can do both at the same 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.
same for compileSdkVersion
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.
8198b2c
to
3b617ac
Compare
This PR updates Gradle and Android Gradle Plugin to their latest versions. It builds on top of #2 and should be reviewed/merged after it.
./gradlew wrapper --gradle-version 7.3.3 --distribution-type all
command.7.1.0
. I was a little reluctant to go to the latest version, but since there weren't any build errors specific to this version, I figured this way we'd test everything only once. I am open to suggestions if there is any preference for going with another version.30
. This is a required change for the Android Gradle Plugin update and would have been necessary even if we upgraded to4.2.2
. (latest version before7.0
) It also drops thebuildToolsVersion
which has been deprecated and no longer necessary.I have some reservations about upgrading the target sdk due to my unfamiliarity with the project as the change needs to be tested thoroughly. I am hoping the reviewers can help me with this.
There is a good chance we'd want to test its integration to the Tumblr app before we approve this PR, which is completely fine by me. I'll keep opening PRs that build on top of each other and when we get to publishing the library artifacts, we can test the integration. This approach should still make it easier to review the PRs & follow along the changes. 🤞