I'm using moshi's generated adapters and I don't w...
# android
p
I'm using moshi's generated adapters and I don't want to run kapt while developing because of build times. However when testing, I want to run kapt on my sources. Else I'll test an artificial situation which is different from my production code.
s
The latest moshi version has a reflection based solution for IDE builds
e
Would it work if you put the tests in a separate module, that depends on the module containing your code, and run kapt there?
s
Why do that? Testing Moshi works fine belongs in the Mohsi repository...
p
I don't test moshi, I test my adapters