Am I right to conclude that `io.kotest.extensions:...
# kotest
b
Am I right to conclude that
io.kotest.extensions:kotest-extensions-clock:1.0.0
is obsolete as type
TestClock
is now part of
io.kotest:kotest-extensions:6.0.0.M6
? The old clock extensions is still referenced in the 6.0.0 docs
s
yes, can you link to the docs page, I will fix
b
s
thanks fixed docs
👍 1
M8 is out btw
b
Was trying to upgrade to 6.0.0.M8 but some kotest deps cannot be resolved … Is that just a matter of time for things (in Maven central) to get in sync?
s
possibly, which deps ?
maven central changed the way everything was published so it kinda threw a spanner in the works last minute
b
Copy code
> Could not find io.kotest:kotest-runner-junit5:6.0.0.M8.
     Searched in the following locations:
its there
b
note I’m resolving deps though a corporate artifact proxy
s
that's prob delayed
M8 was like 1hr ago
b
Correct. Things do work when adding
mavenCentral()
as repo. Thanks
s
great
let me know if you find any showstoppers on M8
this could be the last Mx before an RC
b
I did have to remove some
-jvm
suffixes from kotest dependencies. Not sure why that is nor what the recommend approach is to declare deps (with or without
-jvm
suffix) for plain JVM builds
s
I think the Jetbrains recommendation is that you shouldn't need -jvm
gradle is supposed to work that out for you
e
are you using maven?
b
Hell no
😁 2
e
Then you should never add
-jvm
🙂 like sam says, gradle figures that out
s
lol "hell no"
b
So that (no
-jvm
suffix) holds true for my ktor and kotlinx-serialization deps too I suspect ?
s
yep
b
Excellent, live support from the community 😁
s
the -jvm is a maven thing. Gradle has a concept of "attributes" where the build system can say I want this dep with an attribute of "jvm" and it figures it out
b
thanks folks
the docs aren't super clear
b
never really put my head to that Gradle Variant stuff … I now have a good reason to change that
s
I hope the gradle folks never see this but gradle is the worst API I've worked with in 27 years of being a professional developer
I feel like even the experts don't understand it
e
i don't think you have to.. it should just work. In my experience , it does..
b
^ that
but I agree it’s one of these ever-moving APIs …
e
lol 😄 yeah the api is maybe not great..
s
basically they adopted a bunch of "magic" because they used groovy and have been paying the price since
it's horrible
what they're doing now with the Kotlin DSL is great, but they're kinda hamstrung
b
history is bound to repeat itself …. wasn’t their (long time ago) a story about a revolutionary email client written in python. After much work they concluded refactoring is a mess in dynamically typed language. Not sure what happened to that project …
😂 1