-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
V2023.3 dependency updates #5658
V2023.3 dependency updates #5658
Conversation
261c65c
to
3fc0ad7
Compare
3fc0ad7
to
0f5ec7e
Compare
@@ -5,6 +5,9 @@ | |||
-dontwarn org.xmlpull.v1.** | |||
-dontwarn org.hamcrest.** | |||
-dontwarn com.rarepebble.** | |||
-dontwarn com.networknt.** | |||
-dontwarn android.content.res.** | |||
-dontwarn org.kxml2.io.** |
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.
I haven't had to touch ProGuard for a while. Remind me what dontwarn
is doing here?
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.
It ignores some weird errors I got like:
com.android.tools.r8.utils.b: Library class android.content.res.XmlResourceParser implements program class org.xmlpull.v1
It's enough for building and installing the app but we might run into some bugs on runtime too. We will see.
@@ -26,8 +26,8 @@ android { | |||
} | |||
} | |||
compileOptions { | |||
sourceCompatibility JavaVersion.VERSION_1_8 | |||
targetCompatibility JavaVersion.VERSION_1_8 | |||
sourceCompatibility JavaVersion.VERSION_17 |
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.
We're ok to use Java 17 byte code on API 21? Does the new AGP take care of that?
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.
Everything seems to be fine. I've installed the app on Android 5 and didn't get any errors.
0f5ec7e
to
4923901
Compare
What has been done to verify that this works as intended?
I've reviewed the changes and run automated tests.
Why is this the best possible solution? Were any other approaches considered?
Switching to Android Gradle Plugin 8 required some changes so this is the biggest pr with dependency updates I have ever created. The biggest change is probably Migrating to Non-Transitive R Classes We could have disabled it for now but they claim it's better not too and probably at some point in the future we would be forced to do that either way see https://developer.android.com/build/optimize-your-build#use-non-transitive-r-classes
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
It doesn't require testing.
Do we need any specific form for testing your changes? If so, please attach one.
No.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
./gradlew checkAll
and confirmed all checks still pass OR confirm CircleCI build passes and run./gradlew connectedDebugAndroidTest
locally.