Repository navigation
chore(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.4.20 [security] #643
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| [versions] | ||||||
|
|
||||||
| # Commons | ||||||
| kotlin20 = "2.0.21" | ||||||
| kotlin20 = "2.4.20" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The kotlin20 entry also controls kotlinCompilerEmbeddable20, used to compile the common and Kotlin 2.0 compiler-plugin modules. Their legacy registrar requires ComponentRegistrar, which Kotlin 2.4.20 removed, as documented by the existing Kotlin 2.4 linkage test. This upgrade therefore prevents the common module from compiling and blocks its dependent modules. Preserve the compatible legacy compiler pin; any security upgrade must account for these shared dependencies.
Suggested change
Was this helpful? React π or π |
||||||
| kotlin21 = "2.1.21" | ||||||
| kotlin22 = "2.2.20" | ||||||
| kotlin23 = "2.3.20" | ||||||
|
|
||||||
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.
This alias supplies both
kotlinGradlePlugin20andkotlinCompilerEmbeddable20to the common andkcp-kotlin20modules, so changing it to 2.4.20 makes the Kotlin 1.9/2.0 compatibility artifact and its tests compile against the 2.4 compiler API.DatadogKotlinCompilerPluginSupport.getPluginArtifact()still selects that artifact for Kotlin 1.9 and 2.0 consumers, where compiler-plugin APIs are version-sensitive and can fail to load or link; the tests also stop exercising the promised 2.0 compatibility. Keep this version on 2.0.x and update any vulnerable Gradle-plugin dependency independently.Useful? React with πΒ / π.