I have an android target in my multiplatform build, and each module spams the logs with:
Copy code
The following Kotlin source sets were configured but not added to any Kotlin compilation:
* androidAndroidTestRelease
* androidTestFixtures
* androidTestFixturesDebug
* androidTestFixturesRelease
You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See <https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets>
What do I need to do to make that stop getting logged?
👀 1
s
Siggi Gunnarss
05/07/2022, 8:07 AM
this is a good question. These annoyed me so much that I added something like:
to my gradle project just to hack these source sets away.
A better solution would be to figure out what fixtures is and not attach the source set to begin with, so I hope you get some more answers to your question.
➕ 1
j
joney
05/17/2022, 1:07 PM
Hey @eygraber, thanks for sharing! Any updates on this? I have similar issues..
e
eygraber
05/17/2022, 2:00 PM
No update. I've been using the snippet provided above and it's working fine for me.
👍 1
eygraber
05/17/2022, 10:43 PM
@Sebastian Sellmair [JB] is something that should be filed with AGP?