simon.vergauwen
05/31/2023, 12:15 PM> Task xef corecompileTestKotlinJs FAILED
e: Could not find "kotest.kotest-assertions:kotest-assertions-core" in [/Users/simonvergauwen/Library/Application Support/kotlin/daemon]
e: java.lang.IllegalStateException: FATAL ERROR: Could not find "kotest.kotest-assertions:kotest-assertions-core" in [/Users/simonvergauwen/Library/Application Support/kotlin/daemon]This happend when bumping from
5.5.x
to 5.6.x
, and I am only targeting js(IR)
no legacy JS targetEmil Kantis
05/31/2023, 12:29 PMCould not find "kotest.kotest-assertions:kotest-assertions-core"
Shouldnt it be
io.kotest:kotest-assertions-core
? Can you see what’s pulling in the faulty dependency?simon.vergauwen
05/31/2023, 12:50 PMsimon.vergauwen
05/31/2023, 2:11 PMkotest-assertions = { module = "io.kotest:kotest-assertions-core", version.ref = "kotest" }
kotest-framework = { module = "io.kotest:kotest-framework-engine", version.ref = "kotest" }
kotest-property = { module = "io.kotest:kotest-property", version.ref = "kotest" }
kotest-junit5 = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
kotest-testcontainers = { module = "io.kotest.extensions:kotest-extensions-testcontainers", version.ref = "kotest-testcontainers" }
kotest-assertions-arrow = { module = "io.kotest.extensions:kotest-assertions-arrow", version.ref = "kotest-arrow" }
These are all the Kotest dependencies I have in my version catalogsam
05/31/2023, 2:26 PMsam
05/31/2023, 2:26 PMsimon.vergauwen
05/31/2023, 4:27 PMbuild.gradle.kts
.
val commonTest by getting {
dependencies {
implementation(libs.kotest.property)
implementation(libs.kotest.framework)
implementation(libs.kotest.assertions)
implementation(libs.kotest.assertions.arrow)
}
}
When I remove libs.kotest.assertions
, then I get
> Task xef corecompileTestKotlinJs FAILED
e: Could not find "kotest.kotest-assertions:kotest-assertions-shared" in [/Users/simonvergauwen/Library/Application Support/kotlin/daemon]
e: java.lang.IllegalStateException: FATAL ERROR: Could not find "kotest.kotest-assertions:kotest-assertions-shared" in [/Users/simonvergauwen/Library/Application Support/kotlin/daemon]🤕 what is
shared
??simon.vergauwen
05/31/2023, 4:29 PMassertions.arrow
🤔
Did something break between 5.5.x
and 5.6.x
in assertions?Emil Kantis
05/31/2023, 4:48 PMsam
05/31/2023, 8:28 PMsimon.vergauwen
06/01/2023, 6:19 AM1.3.3
but I just tested the SNAPSHOT and that works 🤔simon.vergauwen
06/01/2023, 6:19 AMAdam S
06/01/2023, 3:34 PM$HOME/.gradle/
?