-
-
Notifications
You must be signed in to change notification settings - Fork 35
Add support for Kotlin 2.1.20 #871
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
base: main
Are you sure you want to change the base?
Conversation
…ntry/sentry-android-gradle-plugin into markushi/fix/kotlin-2-1-20-support
tasks.withType<KotlinCompile>().configureEach { | ||
kotlinOptions { | ||
jvmTarget = JavaVersion.VERSION_11.toString() | ||
languageVersion = "1.9" |
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.
not sure if it has to be a breaking change, but probably impact is quite low as it's nearly 2 years old.
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.
Let me try to switch to the same version as the main plugin
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.
I guess it's fine, we just have to check if the compiler plugin is going to work on kotlin < 1.9 with this options? I assume it probably should
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.
LGTM! Great work 🚀
📜 Description
Fixes #868
💡 Motivation and Context
Introduces two source sets, one compiled against 1.9.20 and one for 2.1.20 - this way binary incompatibility due to changes in default parameter values are avoided.
💚 How did you test it?
Manual testing
📝 Checklist
🔮 Next steps