How do I use `kapt` on android(`main`) sources of ...
# multiplatform
h
How do I use
kapt
on android(
main
) sources of multiplatform project? I can't apply
kotlin-android
, because it says
kotlin
extensions is already added, but without it there is no
kapt
configuration.
g
Did you try to apply kotlin-kapt? Because kapt is not Android specific
h
For anyone who's facing same issue: just apply android stuff after
kotlin
extension block, but
apply plugin: 'com.android.library'
must come before
apply plugin: 'kotlin-multiplatform'
.
1
g
I don’t know does it work or not with mpp project, just in case