I've just added power assert to the shared sub-mod...
# power-assert
r
I've just added power assert to the shared sub-module of a multiplatform project, Kotlin 2.0.10 and the jetbrains power assert plugin. But, for some reason it is not working on my
commonTest
sources, even if I set
commonTest
explicitly in the
includedSourceSets
. It has worked for me on other projects... not sure why it isn't working on this one.
b
I'm not able to reproduce this. Are you able to share the gradle file of this module?
r
@bnorm The project is private so ok if I share it with you in a DM?
b
Yep, that's okay with me.
r
For future searchers, turned out to be this issue: https://youtrack.jetbrains.com/issue/KT-68534/Power-Assert-Android-sources-support And for me, the solution was adding the following to my powerAssert block:
Copy code
includedSourceSets = listOf(
    "androidUnitTestRelease",
    "androidUnitTestDebug",
  )
Thanks bnorm for the help...