spierce7

    spierce7

    3 years ago
    I just spent a few days converting my teams Android project that was using the
    kotlin-platform-x
    gradle plugins to use the
    multiplatform
    plugin. I'm now getting the following error in my builds. Does anyone have any recommendations? I'm a bit stuck now:
    > Task :app:lintVitalInternalRelease FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:lintVitalInternalRelease'.
    > Configuration with name 'compileClasspath' not found.
    russhwolf

    russhwolf

    3 years ago
    Probably https://youtrack.jetbrains.com/issue/KT-27170. There’s a workaround in there for either groovy or kotlin build scripts.
    That workaround is in the new project templates but if you’re converting from something older you wouldn’t have seen it
    spierce7

    spierce7

    3 years ago
    Thank you. Adding
    configurations {
            compileClasspath
        }
    to my
    subprojects
    block seems to have fixed it.