Disabling androidAndroidTestRelease source set in gradle Kotlin DSL script

In my Kotlin Multiplatform project, I have code that is sufficiently tested via JVM based tests. The Android specific code in androidMain/ only adds a few extras, so I do not need to add Android JUnit tests. I do get this message:

The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target’s compilation by connecting it with the compilation’s default source set using ‘dependsOn’.

How do I disable that sourceset to avoid this warning?

2 Likes

Also getting this error and I would like to get rid of it for similar reasons :slight_smile: