Skip to content

Make kotlin.internal.jvm.enableUnsafeOptimizationsForMultiplatform a user-facing Gradle property - #7635

Open
Iveta Kovalenko (ywett02) wants to merge 2 commits into
masterfrom
ikvl/osip-75/property-export
Open

Make kotlin.internal.jvm.enableUnsafeOptimizationsForMultiplatform a user-facing Gradle property#7635
Iveta Kovalenko (ywett02) wants to merge 2 commits into
masterfrom
ikvl/osip-75/property-export

Conversation

@ywett02

Copy link
Copy Markdown
Collaborator

No description provided.

Make `kotlin.jvm.enableIncrementalCompilationOfCommonSources` the
user-facing name for the jvm property: it leaves the `kotlin.internal.*`
namespace, and "unsafe" is dropped because on jvm the correctness
problem behind the default is resolved, so the name says what the
property does instead of how it used to behave.

Only the jvm property is renamed. js and wasm have no counterpart of
`enableJvmClasspathMetadata`, so the optimization is still unsafe
there and they keep their `kotlin.internal.*` names.

^KT-88762 Fixed
^KT-88057
The metric reports enableIncrementalCompilationOfCommonSources, so name
it after the option rather than after the old "unsafe optimizations"
framing.

^KT-88762
@kotlin-safemerge

kotlin-safemerge Bot commented Aug 21, 2026

Copy link
Copy Markdown

Code Owners

RuleOwnersApproval
/​libraries/​tools/​kotlin-​gradle-​plugin-​integration-​tests/​, /​libraries/​tools/​kotlin-​gradle-​plugin/​, /​libraries/​tools/​kotlin-​gradle-​statistics/​
kotlin-build-tools

AYastrebov
PR commands for maintainers
CommandDescriptionParameters
/safe-mergeRebase-merges with automatic fixup commit squashing--fixup Autosquash fixup commits (on by default)
/safe-squash-mergeSquash-merges with optional commit title/body override--title Title of the squashed commit
--message Body of the squashed commit
/dry-runRuns the test pipeline with changes rebased on latest master--retry Retry the CI run on failure
/test-publicTriggers the public test suite without rebasing on latest master
/test-privateTriggers the private test suite without rebasing on latest master
/codeownersTriggers code owners check and comment update
/fixupSquashes fixup commits and force pushes the branch
/cancel-coordinatorCancels the merge coordinator currently running for this branch

@ywett02

Copy link
Copy Markdown
Collaborator Author

/dry-run

@KotlinBuild

Build Server (KotlinBuild) commented Aug 21, 2026

Copy link
Copy Markdown

THIS IS A DRY RUN

Quality gate is triggered at https://buildserver.labs.intellij.net/build/1037872386 — use this link to get full insight.

Quality gate was triggered with the following revisions:

kotlin
Branch: refs/merge/GITHUB-7635/safe-merge
Commit: 760d5d9


Quality gate finished successfully.

@ywett02
Iveta Kovalenko (ywett02) requested review from a team and Andrey Yastrebov (AYastrebov) and removed request for a team August 21, 2026 14:06
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