Does anyone successfully used the `testFixtures` f...
# android
t
Does anyone successfully used the
testFixtures
feature of the Android Gradle Plugin introduced in AGP 7.2.0 ? I can't get it working. Kotlin sources under
testFixtures
does not seem to get compiled. I'm using Kotlin 1.6.21.
m
Kotlin gradle plugin doesn't support it yet, https://youtrack.jetbrains.com/issue/KT-50667
t
Thank you! I wonder if I could create a Gradle plugin that sets this up until the Kotlin Gradle Plugin supports it ...
m
honestly, I haven't tried to do it myself, but if you're in an urgent need for this feature. you can try working around it by creating a temporary third party plugin, Also use the hints mentioned at the end of the issue description as a starting point.
425 Views