ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
53 stars 54 forks source link

Adds compileOptions to build.gradle #59

Closed jothomps closed 1 year ago

jothomps commented 1 year ago

Adds source & target compatibility options into build.gradle, to resolve a compilation error with newer versions of gradle (8+ from what I've seen)

The error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_web_auth_2:compileDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
ThexXTURBOXx commented 1 year ago

Thanks for the PR! Good point, will review, merge and publish as soon as I am back from my vacation (probably in 3-7 days)

ThexXTURBOXx commented 1 year ago

LGTM! Will publish soon together with additional changes