my project has the following plugins applied: ```...
# gradle
b
my project has the following plugins applied:
Copy code
kotlin("jvm") version "1.5.31" 
    id("org.jetbrains.kotlin.plugin.spring") version "1.5.31" 
    id("org.jetbrains.kotlin.plugin.noarg") version "1.5.31"
    id("org.jetbrains.kotlin.plugin.lombok") version "1.5.31"
    id("io.freefair.lombok") version "5.3.0"
    id("org.jetbrains.dokka") version "1.5.30"
but for some reason it looks like gradle is selecting
1.5.10
for the
kotlin-stdlib-*
dependencies:
Copy code
❯ gr dependencyInsight --dependency "org.jetbrains.kotlin:kotlin-stdlib-jdk8" --configuration kotlinCompilerPluginClasspathMain
executing gradlew instead of gradle
Type-safe dependency accessors is an incubating feature.
Type-safe project accessors is an incubating feature.

> Task :dependencyInsight
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.10 (selected by rule)
   variant "runtime" [
      org.gradle.status          = release (not requested)
      org.gradle.usage           = java-runtime (not requested)
      org.gradle.libraryelements = jar (not requested)
      org.gradle.category        = library (not requested)
   ]

org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.20 -> 1.5.10
\--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.1
     \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1
          +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31 (requested org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0)
          |    \--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.5.31
          |         \--- kotlinCompilerPluginClasspathMain
          \--- org.jetbrains.kotlin:kotlin-scripting-common:1.5.10 (requested org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8)
               +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31 (requested org.jetbrains.kotlin:kotlin-scripting-common:1.5.31) (*)
               \--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.5.10
                    \--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.5.31 (requested org.jetbrains.kotlin:kotlin-scripting-jvm:1.5.31) (*)

(*) - dependencies omitted (listed previously)
perhaps i just don’t understand how to read the dependencyInsights, but it’s unclear to me why it would choose that version
t
Could you share a build scan?
b
sadly, no, i don’t think i’ve got clearance to do that
t
just noticed configuration name -
kotlinCompilerPluginClasspathMain
is expected to have older stdlib dependency (this should be fixed in 1.5.3x). You should look into
compileClasspath
to check stdlib dependency version
b
ah, thanks!