I upgraded to Kotlin 1.9.20
What are the new keywords for
androidUnitTest
,
desktopMain
and
desktopTest
?
They don't seem to work
b
benkuly
11/06/2023, 10:19 AM
I guess when you define a custom name for your target, you have to use
val desktopMain by getting {
.
d
Daniele B
11/06/2023, 10:23 AM
ok, I see. how about Android test?
d
dsavvinov
11/06/2023, 11:03 AM
Same for
androidUnitTest
, do the
val androidUnitTest by getting
. It wasn’t added because of some additional compatibility considerations connected with Android integration. We’re considering adding static accessor for Android test source sets, but unlikely to do it in 1.9.2X release cycle