Slackbot
07/14/2022, 8:51 AMJavi
07/14/2022, 10:29 AMkotlin-bom with the version 1.6.10, and I got this when I print dependencies, and I don't understand what mean that -> 1.7.0
+--- org.jetbrains.kotlin:kotlin-bom:1.6.10
| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 -> 1.7.0 (c)
| +--- org.jetbrains.kotlin:kotlin-test:1.6.10 -> 1.7.0 (c)
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 -> 1.7.0 (c)
| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 -> 1.7.0 (c)
| +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 -> 1.7.10 (c)
| +--- org.jetbrains.kotlin:kotlin-test-common:1.6.10 -> 1.7.0 (c)
| +--- org.jetbrains.kotlin:kotlin-test-annotations-common:1.6.10 -> 1.7.0 (c)
| \--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 -> 1.6.21 (c)
+--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1
I should expect this:
testImplementation - Implementation only dependencies for compilation 'test' (target (jvm)). (n)
+--- org.jetbrains.kotlin:kotlin-test:1.6.10 (n)
+--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1 (n)
+--- io.kotest:kotest-assertions-core:5.3.0 (n)
\--- org.jetbrains.kotlin:kotlin-test:1.6.10 (n)
but I am getting
testImplementation - Implementation only dependencies for compilation 'test' (target (jvm)). (n)
+--- org.jetbrains.kotlin:kotlin-test:1.7.0 (n)
+--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1 (n)
+--- io.kotest:kotest-assertions-core:5.3.0 (n)
\--- org.jetbrains.kotlin:kotlin-test:1.7.0 (n)Fleshgrinder
07/14/2022, 10:35 AMJavi
07/14/2022, 10:36 AMJavi
07/14/2022, 10:36 AMJavi
07/14/2022, 10:37 AMFleshgrinder
07/14/2022, 10:37 AMenforcesPlatform usually works, but if some special instructions are at play it is possible that another dependency can force the upgrade. Regardless, it is a very bad idea to downgrade dependencies. If you want to use 1.6.10 then you need to ensure that all dependencies are compatible with 1.6.10.Fleshgrinder
07/14/2022, 10:37 AMFleshgrinder
07/14/2022, 10:38 AMFleshgrinder
07/14/2022, 10:39 AMJavi
07/14/2022, 10:41 AM