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

Remove deprecated APIs usage and enable warning-as-errors for build scripts #2925

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

Tapchicoma
Copy link
Contributor

No description provided.

@@ -45,6 +45,7 @@ kotlin {
watchosDeviceArm64()

// Deprecated, but not removed
@Suppress("DEPRECATION")
Copy link
Contributor Author

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?

Copy link
Member

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")
Copy link
Member

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)
Copy link
Member

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.

@sandwwraith
Copy link
Member

Also, PTAL on Kotlin master build failure. It seems we can't turn -Werror on builds while withJava is deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants