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.
11/12/2018, 10:01 PM
The latest moshi version has a reflection based solution for IDE builds
11/12/2018, 10:39 PM
Would it work if you put the tests in a separate module, that depends on the module containing your code, and run kapt there?
11/12/2018, 11:07 PM
Why do that? Testing Moshi works fine belongs in the Mohsi repository...