Nikky
02/22/2022, 11:02 AMjsCompileClasspath - Compile classpath for compilation 'main' (target js (js)).
+--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
| \--- org.jetbrains:annotations:13.0
+--- org.jetbrains.kotlinx:kotlinx-serialization-json:{require 1.3.2; reject _} -> 1.3.2
| \--- org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.3.2
anyone ran into this or got a idea how to figure out whats causing it ?Vampire
02/22/2022, 11:33 AMdependencyInsight
task can help.
Afair it also shows information about the selected variant and maybe why.
Don't remember exactly right now.Nikky
02/22/2022, 12:10 PMNikky
02/22/2022, 12:13 PMNikky
02/22/2022, 12:28 PMVampire
02/22/2022, 12:33 PMmavenLocal
. Don't use mavenLocal
, it is broken by design. It is a mixture of download cache and repository of Maven. If you for example just resolve a POM or just some artifacts of a dependency using Maven, then only these artifacts are in the maven local and when later Gradle sees it, it sees a "corrupt" state that might not work properly. If you ever really need mavenLocal
, then at most use it with a content repository filter in which you define exactyl which dependency you want to take from there from which you know it is properly in there because you deployed it in there manually.Nikky
02/22/2022, 12:43 PMNikky
02/22/2022, 12:45 PMmavenLocal() {
content {
includeModule("com.tryformation", "api-client")
}
}
Vampire
02/22/2022, 12:47 PMcom.tryformation:api-client
a Maven build, or why do you use it through mavenLocal
?Nikky
02/22/2022, 12:49 PMNikky
02/22/2022, 12:51 PMVampire
02/22/2022, 1:11 PMVampire
02/22/2022, 1:13 PM