Thread
#multiplatform
    h

    hmole

    3 years ago
    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.
    gildor

    gildor

    3 years ago
    Did you try to apply kotlin-kapt? Because kapt is not Android specific
    h

    hmole

    3 years ago
    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'
    .
    gildor

    gildor

    3 years ago
    I don’t know does it work or not with mpp project, just in case