https://kotlinlang.org logo
#mockk
Title
# mockk
m

Mattia Tommasone

09/19/2023, 10:07 AM
I was planning on getting https://github.com/mockk/mockk/pull/1039 merged before releasing, but I think it can be moved to the next release I’ll probably get a release done between today and tomorrow
thank you color 1
s

Simon Marquis

09/22/2023, 12:02 PM
This user does not seem to be very active 😬 Can we help in any way? If it's only a matter of resolving conflicts (which should not be that many base on the diff size) I could update/reupload this PR.
m

Mattia Tommasone

09/22/2023, 12:02 PM
well thing is, I was planning on making a release anyway without merging that PR, but…https://kotlinlang.slack.com/archives/C2R77UD35/p1695140810235549
s

Simon Marquis

09/22/2023, 12:04 PM
Oh I see. Then maybe I can help with that instead :)
m

Mattia Tommasone

09/22/2023, 12:04 PM
if you can, i’d be very happy 🙂
s

Simon Marquis

09/22/2023, 12:56 PM
A simple workaround is to add the explicit tasks dependency
Copy code
tasks.named("dokkaJavadoc") {
    mustRunAfter(tasks.named("kaptDebugKotlin"))
    mustRunAfter(tasks.named("kaptReleaseKotlin"))
}
After that, the publish task works again. But the "better/long-term" solution would be to use the Android
LibraryPublishing
API instead. WDYT?
I'll prepare a PR if that's OK
m

Mattia Tommasone

09/22/2023, 1:40 PM
yep that works, I tried on my machine and I was able to publish to sonatype, you should be able to use 1.13.8 in a short while
I’d definitely like to use the Android LibraryPublishing API, but I have no idea how to do it of course I’ll never complain if you want to send a PR about it 😅
s

Simon Marquis

09/22/2023, 1:43 PM
We use it in this project but it would be a lot of work to migrate this codebase blob sweat smile
2 Views