Skip to content
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

[FSSDK-10505] chore: update api level #503

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

muzahidul-opti
Copy link
Contributor

@muzahidul-opti muzahidul-opti commented Jan 3, 2025

Summary

  • Set jvmTarget to 17
  • Update api level to support Mockito 4.x

The "why", or other context.

Test plan

  • All testcases should be passed

Issues

@muzahidul-opti muzahidul-opti changed the title Update gradle to 7.3.3 fix: resolve gradle issue Jan 3, 2025
@muzahidul-opti muzahidul-opti changed the title fix: resolve gradle issue [FSSDK-10505] fix: resolve gradle issue Jan 3, 2025
@muzahidul-opti muzahidul-opti changed the title [FSSDK-10505] fix: resolve gradle issue [FSSDK-10505] chore: update api level Jan 7, 2025
@muzahidul-opti muzahidul-opti marked this pull request as ready for review January 28, 2025 15:44
@muzahidul-opti muzahidul-opti requested a review from jaeopt January 28, 2025 16:25
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

Not sure about upgrading this is safe to support all devices. Let's review it.

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
Copy link
Contributor

Choose a reason for hiding this comment

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

I see "sourceCompatibility JavaVersion.VERSION_17" upgraded above. It makes sense aligning them together, but not sure about if this upgrade is safe. We still need support old android devices minSdkVersion = 21+

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got your point. This PR follows up on the ticket.
To add support for java 17, we need to upgrade mocktio 4+, but mockito 4+ is only supported from api label <24

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.

2 participants