Did somebody find the workaround for this new warn...
# multiplatform
r
Did somebody find the workaround for this new warning that appears after updating some dependencies in a KMP project? I think maybe it comes from Gradle 7.0 but I’m not sure.
Copy code
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'.
See <https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets>
👀 2
j
You can try this
Copy code
val androidAndroidTestRelease by getting

val androidTest by getting {
  dependsOn(androidAndroidTestRelease)
  ...
}
n
I got a bunch of those after bumping to Gradle 7.0 and Kotlin 1.5.0. So probably Gradle 7.0. 🤔