-
Notifications
You must be signed in to change notification settings - Fork 69
feat: Update Android Gradle plugin to 8.1.0 #575
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
base: main
Are you sure you want to change the base?
Conversation
c42b9d3 to
c80d354
Compare
BrandonStalnaker
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
a673322 to
4c030ef
Compare
android-core/build.gradle
Outdated
| 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.
how does this impact clients? do they need to build their app with 17 when compiling against our SDK? is that ok?
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.
Yes, this can affect the client app, but Android Gradle Plugin 8 requires at least Java 17 to run.
gradle.properties
Outdated
| #-XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096 | ||
| #-XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096 | ||
| android.defaults.buildfeatures.buildconfig=true | ||
| org.gradle.caching=true |
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.
is this going to mess up CI builds? we shouldn't be caching for CI
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 removed org.gradle.caching=true because the build cache can affect CI
66afa0f to
69d8a8a
Compare
|
69d8a8a to
8b19174
Compare
|



Instructions
developmentSummary
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)