-
Notifications
You must be signed in to change notification settings - Fork 135
Stripe SDK version update #7181
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,8 @@ allprojects { | |
| // TODO fix all the warnings and change to true before end of 2022 | ||
| allWarningsAsErrors = false | ||
| freeCompilerArgs += [ | ||
| "-Xopt-in=kotlin.RequiresOptIn" | ||
| "-Xopt-in=kotlin.RequiresOptIn", | ||
| "-Xjvm-default=all-compatibility", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Otherwise tones of the: Still can not figure out what and how exactly transitive dependency causes that compilation works differently
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here is more info about these flags. It seems that this solution is the recommended solution for now. I'm also not sure what caused this change though. My personal bet is that it seems the previous version of the SDK was compiled with |
||
| ] | ||
| } | ||
| } | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.
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.
Had to move it out of the interface otherwise it does not compile:
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.
This seems correct, since the combination of
private defaultdoesn't make sense, since it can't be overridden. If this was a class it'd be okay, but since it is an interface it is not.