Skip to content

Conversation

@eygraber
Copy link
Contributor

@ting-yuan ting-yuan requested a review from hfmehmed December 22, 2025 20:27
val isKlibCrossCompilationEnabled: Provider<Boolean> = project.providers.gradleProperty(
"kotlin.native.enableKlibsCrossCompilation"
).orElse("false").map { it.toBoolean() }
val isKlibCrossCompilationEnabled: Provider<Boolean> = kotlinCompilation.crossCompilationSupported
Copy link
Collaborator

Choose a reason for hiding this comment

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

depending on which version of KGP this was added exactly, this would need to be gated behind a runtime check of the kgp version, otherwise could lead to not found exception when used with older KGP versions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

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