Slackbot
04/05/2022, 5:03 PMephemient
04/05/2022, 5:08 PMconfiguration2.resolutionStrategy.force("dep1:1.4.0")
?Tapchicoma
04/05/2022, 5:08 PMgrossws
04/05/2022, 5:25 PMconfiguration2
Thomas Broyer
04/06/2022, 8:04 AMdep1:1.4.0!!
)grossws
04/06/2022, 9:30 AMCristianGM
04/06/2022, 12:52 PMTapchicoma
04/06/2022, 1:03 PMfeels like an odd thing to doIt is
compileOnly
configuration, so it is ok to have different versions of same dependency 🙂Tapchicoma
04/06/2022, 1:38 PMresolutionStrategy.force(...)
doesn't work 🤷♂️
Using rich versions causes the resolution excepionCristianGM
04/06/2022, 1:51 PMval whatever by configurations.creating
whatever.extendsFrom(configurations.implementation.get())
whatever.resolutionStrategy.force("org.jetbrains.kotlinx:kotlinx-cli-jvm:0.3.3")
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-cli-jvm:0.3.4")
}
CristianGM
04/06/2022, 1:52 PMwhatever
+--- org.jetbrains.kotlinkotlin stdlib jdk81.6.10
| +--- org.jetbrains.kotlinkotlin stdlib1.6.10
| | +--- org.jetbrainsannotations13.0
| | \--- org.jetbrains.kotlinkotlin stdlib common1.6.10
| \--- org.jetbrains.kotlinkotlin stdlib jdk71.6.10
| \--- org.jetbrains.kotlinkotlin stdlib1.6.10 (*)
\--- org.jetbrains.kotlinxkotlinx cli jvm0.3.4 -> 0.3.3
+--- org.jetbrains.kotlinkotlin stdlib jdk81.4.30 -> 1.6.10 (*)
\--- org.jetbrains.kotlinkotlin stdlib common1.4.30 -> 1.6.10
(*) - dependencies omitted (listed previously)
Tapchicoma
04/06/2022, 1:54 PMCristianGM
04/06/2022, 1:55 PM