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
Jemo
05/30/2021, 10:47 AM
You can try this
Copy code
val androidAndroidTestRelease by getting
val androidTest by getting {
dependsOn(androidAndroidTestRelease)
...
}
n
Nikolay Kasyanov
06/03/2021, 9:58 AM
I got a bunch of those after bumping to Gradle 7.0 and Kotlin 1.5.0. So probably Gradle 7.0. š¤