Closed roman-yu closed 5 years ago
Hi, I have just updated all the examples to AndroidX and Kotlin 1.3.11 and it works. Have you changed the compileSkd and targetSdk to 28?
Hi @fabioCollini, Cool! I didn't update Kotlin version, it works after upgrading to 1.3.11, do you what the magic to make it work behind upgrading Kotlin?
Hi, that example uses Kotlin all open plugin https://kotlinlang.org/docs/reference/compiler-plugins.html Unfortunately I wasn't able to reproduce the issue so I am not sure what was the cause of it. It seems like something related to Kotlin so it's strange that it happened after upgrading to AndroidX.
Hi Fabio Collini,
Thanks for creating such a great library for testing with Dagger on android! I tried to modify
RealWorldAppKotlinAllOpen
with androidx like below:daggermock-kotlin
modulebuild.gradle
changes:to
RealWorldAppKotlinAllOpen
modulebuild.gradle
changes:to
After that, running
MainActivityTest
androidTest got below error:I didn't change any source code(only import) of
RealWorldAppKotlinAllOpen
. Hanging around for a while, but still not able to make it work. Hope you could give some hints, thanks!