-
Notifications
You must be signed in to change notification settings - Fork 58
Upgrade android gradle plugin [Java 11 build] #1103
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
sid-dahiya
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.
This PR is updating a lot of the core Android versioning and can lead to app teams to run into issue as there are teams that need to support older Android versions. Is there any explicit requirement to move to these SDK versions?
Is there a specific library that can cause a problem? |
My bad! I misread the changes are for defaults. |
|
Seems CI build is failing for latest gradle version - Do we need to install this in CI pipeline explicitly? |
Looking into that... usually not needed unless pipeline not overriding something |
73ce3b4 to
966d493
Compare
|
@lalitb I think I figred out the build error. New gradle plugin requires Java 11, but android sdk tools instaled via choc are outdated. There is an action to install newer SDK tools (https://github.com/marketplace/actions/setup-android-sdk-tools) Is it ok to use the action or I new to download new version manually? |
494181b to
0827e94
Compare
On second thought probably we don't want to upgrade java yet, this needs to be communicated, so I will lower grade build plugin to previous version |
Yes I think upgrade Java needs to be well communicated. |
0e68ff8 to
3bca249
Compare
|
Looks like Java 11 is required for running new build, I will prepare the PR to use java 11 and once we agreed on timelines will publish |
5e24665 to
558a8b8
Compare
241378e to
addd5de
Compare
addd5de to
d2ac8e1
Compare
84ac22a to
c118a26
Compare
|
@lalitb @sid-dahiya Can you please take a look on the latest iteration, I would like to complete it next week |
Breaking build change: use Java 11 to build the project Upgrade android gradle plugin 4.0.1 -> 7.3.1 Upgrade gradle 6.1.1 -> 7.5 - Upgrade default NDK for gradle 7.5: 21.1.6352462 -> 23.1.7779620 Upgrade room 2.2.6 -> 2.4.3 Update compileSdkVersion 29 -> 32
c118a26 to
4cf2952
Compare
mkoscumb
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.
LGTM
Upgrade Android Gradle Plugin to support for Android Studio 2022.1.1
#1095
Breaking build change: use Java 11 to build the project
Upgrade android gradle plugin 4.0.1 -> 7.3.1
Upgrade gradle 6.1.1 -> 7.5
Upgrade room 2.2.6 -> 2.4.3
Update compileSdkVersion 29 -> 32