adev_one
08/21/2018, 9:41 AMbuild.gradle
of common module:
apply plugin: 'kotlin-platform-common'
apply plugin: 'kotlin-kapt'
dependencies {
kapt project(":codegen")
compileOnly project(":codegen")
<...>
}
codegen
is local gradle module for annotation processing.
When I moved kapt project(":codegen")
and compileOnly project(":codegen")
to dependencies
block in platform module it worked.
Can I use annotation processing for common module?