Repository navigation
chore(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.4.20 [security] #644
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 |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
|
|
||
| # Commons | ||
| kotlin20 = "2.0.21" | ||
| kotlin21 = "2.1.21" | ||
| kotlin21 = "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.
Building dd-sdk-android-gradle-plugin-kcp-kotlin21 now resolves kotlin-compiler-embeddable 2.4.20 because it shares this version entry. That compiler removed ComponentRegistrar, which the module still imports, registers with AutoService, and inherits through DatadogPluginRegistrar, so compilation fails and blocks building the plugin. Keep this artifact’s compiler dependency on a compatible 2.1 version and separate it from the Gradle-plugin security upgrade; that requires changing dependency references beyond this diff line. Was this helpful? React 👍 or 👎 |
||
| kotlin22 = "2.2.20" | ||
| kotlin23 = "2.3.20" | ||
| kotlin24 = "2.4.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 version key also supplies
kotlinCompilerEmbeddable21andkotlinGradlePlugin21, so thedd-sdk-android-gradle-plugin-kcp-kotlin21module is now compiled against Kotlin 2.4.20 rather than 2.1.x. That module still imports and registersComponentRegistrar, while the Kotlin 2.4 implementation explicitly documents that this API was removed in 2.4.20 and usesCompilerPluginRegistrarinstead; consequently thetest:kotlin21CI job cannot compile the dedicated 2.1 module. Leave this compatibility slot on a 2.1 release;kotlin24already provides the 2.4.20 dependency.Useful? React with 👍 / 👎.