@@ -5,6 +5,15 @@ cronetApi = "143.7445.0"
55cronetPlayServices = " 18.1.1"
66gson = " 2.10.1"
77kotlin = " 2.0.21"
8+ # Deliberately not `version.ref = "kotlin"`: this must match the Kotlin Gradle Plugin that is actually
9+ # loaded, which is AGP's. `androidToolsPlugin` (below) depends on KGP 2.2.10, and that outranks the
10+ # `kotlin` version above in conflict resolution (`kotlin-gradle-plugin:2.0.21 -> 2.2.10`).
11+ # The Compose *compiler* is always resolved at the loaded KGP's version and never at this one, so the
12+ # two drift apart silently. An older plugin against a newer compiler passes options the compiler has
13+ # since deprecated (RUM-18191, `generateFunctionKeyMetaClasses`), and the version also decides which
14+ # options are sent at all — 2.2.10 turns on `sourceInformation`, which changes generated Compose code.
15+ # Re-check this whenever `androidToolsPlugin` moves.
16+ composeCompilerPlugin = " 2.2.10"
817kotlinSP = " 2.0.21-1.0.28"
918kronosNTP = " 0.0.1-alpha11"
1019kotlinxSerialization = " 1.6.3"
@@ -371,7 +380,7 @@ traceCore = [
371380[plugins ]
372381nexusPublishGradlePlugin = { id = " io.github.gradle-nexus.publish-plugin" , version.ref = " nexusPublishGradlePlugin" }
373382datadogGradlePlugin = { id = " com.datadoghq.dd-sdk-android-gradle-plugin" , version.ref = " datadogPlugin" }
374- composeCompilerPlugin = { id = " org.jetbrains.kotlin.plugin.compose" , version.ref = " kotlin " }
383+ composeCompilerPlugin = { id = " org.jetbrains.kotlin.plugin.compose" , version.ref = " composeCompilerPlugin " }
375384apolloPlugin = { id = " com.apollographql.apollo" , version.ref = " apollo" }
376385dependencyLicenseGradlePlugin = { id = " com.datadoghq.dependency-license" , version.ref = " dependencyLicense" }
377386kotlinAndroidPlugin = { id = " org.jetbrains.kotlin.android" , version.ref = " kotlin" }
0 commit comments