-
Notifications
You must be signed in to change notification settings - Fork 636
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
Remove deprecated APIs usage and enable warning-as-errors for build scripts #2925
base: dev
Are you sure you want to change the base?
Conversation
This should force to update build scripts on any new deprecation introduced in the used plugins.
This should force to update scripts on new deprecation introduced in the plugins.
Only IR compiler available now.
@@ -45,6 +45,7 @@ kotlin { | |||
watchosDeviceArm64() | |||
|
|||
// Deprecated, but not removed | |||
@Suppress("DEPRECATION") |
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 am not sure this target support is required and maybe we just could remove it?
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.
Yes, it is required for one of our customers
@@ -45,6 +45,7 @@ kotlin { | |||
watchosDeviceArm64() | |||
|
|||
// Deprecated, but not removed | |||
@Suppress("DEPRECATION") |
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.
Yes, it is required for one of our customers
compilerOptions { | ||
jvmTarget.set(JvmTarget.JVM_9) | ||
// To support LV override when set in aggregate builds | ||
languageVersion.set(compileTask.compilerOptions.languageVersion) |
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.
Why did you remove LV + optIns copying? IIRC lack of proper LV caused some problems in aggregate/user projects builds.
Also, PTAL on Kotlin master build failure. It seems we can't turn -Werror on builds while |
No description provided.