When I put kapt() the dependencies block of a sourceset I get the following error: Could not find method kapt() for arguments [project ‘:processor’] on object of type org.jetbrains.kotlin.gradle.plugin.mpp.DefaultKotlinDependencyHandler.
01/30/2019, 2:32 PM
annotation processing isnt a thing for mpp
01/30/2019, 2:46 PM
01/30/2019, 2:50 PM
its a feature of javac
01/30/2019, 3:22 PM
Didn’t know that, makes sense then. Are you aware of another way to generate code per sourceset?
01/30/2019, 4:13 PM
you can try a compiler plugin but that would be a very daunting task right now: