Skip to content

Conversation

@Mansi-mParticle
Copy link
Collaborator

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • This PR updates the Android Gradle Plugin to version 8.1.0.

Testing Plan

  • Was this tested locally? If not, explain why.
  • Tested it with a sample app and ran the test cases.

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

Copy link
Contributor

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Mansi-mParticle Mansi-mParticle force-pushed the feat/SQDSDKS-7068-gradle-8 branch from a673322 to 4c030ef Compare May 15, 2025 15:44
@Mansi-mParticle Mansi-mParticle requested a review from samdozor May 15, 2025 16:33
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

#-XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096
#-XX:ThreadStackSize=4096 -XX:CompilerThreadStackSize=4096
android.defaults.buildfeatures.buildconfig=true
org.gradle.caching=true
Copy link
Contributor

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

Copy link
Collaborator Author

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

@Mansi-mParticle Mansi-mParticle requested a review from samdozor May 15, 2025 18:50
@Mansi-mParticle Mansi-mParticle requested a review from a team as a code owner June 25, 2025 19:53
thomson-t
thomson-t previously approved these changes Jul 4, 2025
@Mansi-mParticle Mansi-mParticle force-pushed the feat/SQDSDKS-7068-gradle-8 branch from 66afa0f to 69d8a8a Compare September 29, 2025 18:29
@sonarqubecloud
Copy link

@Mansi-mParticle Mansi-mParticle force-pushed the feat/SQDSDKS-7068-gradle-8 branch from 69d8a8a to 8b19174 Compare November 19, 2025 22:36
@Mansi-mParticle Mansi-mParticle changed the base branch from development to main November 19, 2025 22:38
@sonarqubecloud
Copy link

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.

6 participants