-
Notifications
You must be signed in to change notification settings - Fork 2
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
misc: Upgrade to Kotlin 2.1.0 #123
base: main
Are you sure you want to change the base?
Conversation
// NOTE: We don't actually need the Android plugin. All of the Android specifics are handled in aws-crt-java, | ||
// we just need a variant with a different dependency set + some distinguishing attributes. | ||
jvm("android") { | ||
attributes { | ||
attribute( | ||
org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType.Companion.attribute, | ||
org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType.androidJvm, | ||
) | ||
attribute( | ||
TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE, | ||
objects.named(TargetJvmEnvironment.ANDROID), | ||
) | ||
} | ||
} | ||
} |
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.
Removed because of:
e: Kotlin Target 'jvm()' is already declared.
Declaring multiple Kotlin Targets of the same type is not supported.
Read https://kotl.in/declaring-multiple-targets for details.
This comment has been minimized.
This comment has been minimized.
Quality Gate passedIssues Measures |
Affected ArtifactsChanged in size
|
"id": "337cca7e-6a38-4601-b5d2-9f8d12dd60f7", | ||
"type": "misc", | ||
"description": "Upgrade to Kotlin 2.1.0" | ||
} |
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.
Question: Are we going to do a minor version bump of the CRT?
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2" | ||
alias(libs.plugins.kotlinx.binary.compatibility.validator) |
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.
Nice!
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.