https://kotlinlang.org logo
s

StefMa

09/25/2020, 9:23 AM
I have an issue that if I run android instrumentation tests the
androidTests
are compiled and running as well. Which is bad because I don't want this 🙃 . can I somehow exclude the
androidTest
sourceSet from the
androidAndroidTest
sourceSet? I tried already multiple things e.g. setting the
srcDris
of
android.sourceSet.androidTest.setSrcDirs()
but it seems they will always execute them. Regardless of what I put into the
srcDirs
.
I run into this issue https://youtrack.jetbrains.com/issue/KT-34650. I workaround it by renaming the
android
target to
libAndroid