For some reason kotest-property-arbs is not workin...
# kotest
s
For some reason kotest-property-arbs is not working correctly. Artifact seems fine, but the package is not found, neither in intellij nor the command line. Is it maybe because the property-arbs project is depending on an older version of kotest?
ah of course, as soon as I post I figure it out. I need to use the
*-jvm
artifact. I’ll make a pr to update the docs
e
s
hm. very interesting. we use maven in some projects and gradle in others and I’ve never noticed that we needed it in one location and not the other. So it seems like it was fixed with kotest mainline, but not with the property extensions then?
e
Yeah. If you’d like, a PR to publish jvm in root would be welcome
👍🏽 1
s
some of the docs were still incorrect so wanted to make a PR for that first. https://github.com/kotest/kotest/pull/3945/files
@Emil Kantis I’m getting this error trying to publish location. There’s no contributing documentation in the property-arbs repo. Is there a specific setup I need to do?
Copy code
java.lang.IllegalStateException: e: Could not find "/Users/tylerthrailkill/Documents/dev/oss/kotest-property-arbs/build/kotlinSourceSetMetadata/commonMain/org.jetbrains.kotlinx-kotlinx-datetime/org.jetbrains.kotlinx-kotlinx-datetime-commonMain.klib" in [/Users/tylerthrailkill/Library/Application Support/kotlin/daemon]
	at org.jetbrains.kotlin.library.SingleFileResolveKt$resolveSingleFileKlib$1.fatal(SingleFileResolve.kt:21)
	at org.jetbrains.kotlin.library.KotlinLibrarySearchPathResolver.resolve(SearchPathResolver.kt:175)
	at org.jetbrains.kotlin.library.KotlinLibrarySearchPathResolver.resolve(SearchPathResolver.kt:181)
	at org.jetbrains.kotlin.library.CompilerSingleFileKlibResolveStrategy.resolve(SearchPathResolver.kt:302)
	at org.jetbrains.kotlin.library.SingleFileResolveKt.resolveSingleFileKlib(SingleFileResolve.kt:24)
	at org.jetbrains.kotlin.library.SingleFileResolveKt.resolveSingleFileKlib$default(SingleFileResolve.kt:15)
	at org.jetbrains.kotlin.cli.metadata.KlibMetadataDependencyContainer.<init>(K2MetadataKlibSerializer.kt:122)
	at org.jetbrains.kotlin.cli.metadata.K2MetadataKlibSerializer$serialize$analyzer$1.invoke(K2MetadataKlibSerializer.kt:54)
	at org.jetbrains.kotlin.cli.metadata.K2MetadataKlibSerializer$serialize$analyzer$1.invoke(K2MetadataKlibSerializer.kt:48)
	at org.jetbrains.kotlin.cli.metadata.CommonAnalysisKt.runCommonAnalysisForSerialization(CommonAnalysis.kt:42)
	at org.jetbrains.kotlin.cli.metadata.K2MetadataKlibSerializer.serialize(K2MetadataKlibSerializer.kt:53)
	at org.jetbrains.kotlin.cli.metadata.K2MetadataCompiler.doExecute(K2MetadataCompiler.kt:117)
	at org.jetbrains.kotlin.cli.metadata.K2MetadataCompiler.doExecute(K2MetadataCompiler.kt:40)
	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:91)
	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:43)
	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:93)
	at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1623)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:598)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:844)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:721)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:720)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1589)
e
hmm, that looks like something's broken with a dependency.. 😞
what'd you do to get that?
s
tried
./gradlew publishToMavenLocal
e
Same error for me
s
😬
e
Think it needs to have updated dependencies for a bunch of things
fixing so it's possible to build master..
👍🏽 1
s
@Emil Kantis were you able to get it working on master?
e
I had to start with the dependency,
kotest-property-datetime
. I managed to get that one working @ master yesterday so I can have 2nd go at
kotest-property-arbs
now
s
so it’s just dependencies out of date? I was wondering if it was the datetime dependency, but it said
kotlinx-kotlinx-datetime
so I dismissed that as an option lol
e
I'm not sure tbh 🙂
I'm fixing so they're available for all multiplatform targets as well.. but it's such a pain to publish multiplatform libraries..
s
well thank you for the hard work!