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.
a
alec
01/30/2019, 2:32 PM
annotation processing isnt a thing for mpp
g
galex
01/30/2019, 2:46 PM
Why not?
a
alec
01/30/2019, 2:50 PM
its a feature of javac
g
galex
01/30/2019, 3:22 PM
Didn’t know that, makes sense then. Are you aware of another way to generate code per sourceset?
a
alec
01/30/2019, 4:13 PM
you can try a compiler plugin but that would be a very daunting task right now: