jordond
09/14/2023, 9:52 PMandroidInstrumentedTest
sourceset. I’m also trying to add resource files (drawable) to be accessed in the test, but the generated R class doesn’t contain the drawable.
Folder layout:
:some-library
- src
- androidInstrumentedTest
- kotlin
- MyTest.kt
- res
- drawable-nodpi
- photo.jpg
I’m assuming there is something I need to add to my build.gradle.kts
but I just can’t figure it out.ephemient
09/14/2023, 9:54 PMjordond
09/14/2023, 9:55 PMephemient
09/14/2023, 9:56 PMsome-library/src/androidTest/res/drawable-nodpi/photo.jpg
?jordond
09/14/2023, 9:59 PMephemient
09/14/2023, 10:01 PMephemient
09/14/2023, 10:01 PMephemient
09/14/2023, 10:02 PMmy.package.R
in androidMain, see if my.package.test.R
works in androidInstrumentedTestjordond
09/14/2023, 10:04 PMjordond
09/14/2023, 10:04 PMjordond
09/14/2023, 10:04 PM