https://kotlinlang.org logo
#eap
Title
j

Jeff Lockhart

09/15/2023, 7:45 PM
Kotlin 1.9.20-Beta breaks IDE detection of some transitive dependencies for my jvmCommonTest source set, which is an intermediate JVM+Android source set. This occurs with either the 1.9.20-Beta or 1.9.0 IDE plugin. It detects some references (
kotlin.test.Test
), but not others (
kotlin.test.assert*
). Everything works at compile/run time.
kotlin.test
is an API dependency coming from a testing-support module. If I add the dependency directly to the module, the errors go away. This is a regression from Kotlin 1.9.10.
i

Ivan Kubyshkin [JetBrains]

09/18/2023, 9:08 AM
Can you file a bug request?
👍🏼 1
s

Sebastian Sellmair [JB]

09/21/2023, 1:07 PM
Is there a reproducer project available?