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

Add compileOptions for JDK 8 #323

Merged
merged 1 commit into from
Jul 27, 2020
Merged

Add compileOptions for JDK 8 #323

merged 1 commit into from
Jul 27, 2020

Conversation

immackay
Copy link

This fixes gradle builds with a minSdkVersion lower than 24

Changes

Added compileOptions entry to android/build.gradle.

References

#322

Testing

See reproduction guide in #322

Checklist

This fixes gradle builds with a minSdkVersion lower than 24
@immackay immackay requested a review from a team July 20, 2020 20:57
@lbalmaceda
Copy link
Contributor

The android module on this SDK makes use of the Android Gradle plugin version 3.5.2, which according to this table means that the Gradle version required is 5.4.1+.

I've installed JDK 7, cloned our react-native sample app, and downgraded its gradle wrapper version to 5.4.1. Then when I tried running the app on an Android emulator, I ran into this issue:

image

Which means, this SDK is already requiring JDK 8+ locally in order to be used on other apps.

That explained I'm OK with accepting this change since it's not a breaking change to existing users.

@lbalmaceda lbalmaceda changed the title fix #322 Add compileOptions for JDK 8 Jul 27, 2020
@lbalmaceda lbalmaceda added this to the v2-Next milestone Jul 27, 2020
@lbalmaceda lbalmaceda merged commit f303dc0 into auth0:master Jul 27, 2020
@lbalmaceda lbalmaceda modified the milestones: v2-Next, v2.5.1 Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants