Skip to content

Conversation

@lauzadis
Copy link
Member

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.

@lauzadis lauzadis requested a review from a team as a code owner December 16, 2024 15:57
Comment on lines -47 to -61
// 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),
)
}
}
}
Copy link
Member Author

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.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

"id": "337cca7e-6a38-4601-b5d2-9f8d12dd60f7",
"type": "misc",
"description": "Upgrade to Kotlin 2.1.0"
} No newline at end of file
Copy link
Contributor

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?


plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
alias(libs.plugins.kotlinx.binary.compatibility.validator)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@sonarqubecloud
Copy link

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

Affected Artifacts

Changed in size
Artifact Pull Request (bytes) Latest Release (bytes) Delta (bytes) Delta (percentage)
aws-crt-kotlin-jvm.jar 215,568 215,769 -201 -0.09%

@lauzadis lauzadis merged commit 25f0a8e into main Jan 15, 2025
9 checks passed
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.

3 participants